Top "Mfc" questions

This tag should be used for questions concerning Microsoft Foundation Class Library (MFC), a C++ framework for Windows desktop GUI application programming.

What does the acronym IDC mean?

Does anybody know the meaning of the acronym IDC as it is used when programming windows? e.g. in the …

c++ windows winapi mfc resources
How to add Images to CListCtrl in MFC

How do you add Images to a ClistCtrl in MFC? I have tried and found that it's quite difficult. I …

visual-c++ mfc imagelist
Qt & double buffering - are there any neat tricks to capture pixels or manipulate the back buffer?

I'm migrating an application to Qt from MFC. The MFC app would use GDI calls to construct the window (a …

qt mfc qt4 doublebuffered
CListCtrl - how to enable multiple selection

I am creating a MFC application for Windows Mobile and don't know how to enable multiple selection for List Control (…

c++ mfc windows-mobile clistctrl
CreateEx Causes Unhandled exception The activation context being deactivated is not the most recently activated one

itsAnalysisDataTable.CreateEx( WS_EX_CLIENTEDGE, AfxRegisterWndClass( CS_DBLCLKS, LoadCursor( NULL, IDC_ARROW ), (HBRUSH)::GetStockObject( NULL_BRUSH ), NULL ), "AnalysiysTable", WS_CHILD | …

c++ exception mfc activation-context-api
BringWindowToTop is Not working even if I get the handle to Class Window

I am registering my Class in the following method: BOOL CNDSClientDlg::InitInstance() { //Register Window Updated on 16th Nov 2010, @Subhen // Register …

c++ windows mfc createwindow registerclass
Set DCB Fails When Attempting to Configure COM Port

I'm trying to write a C++ MFC application that uses the serial port (e.g. COM8). Every time I try …

c++ visual-studio-2008 mfc serial-port serial-communication
Clistctrl item text color

How do you change the text color of a Clistctrl item (report view)?

mfc clistctrl
Linking library without a header file?

I'm attempting to link a static library in C++ using Visual Studio 2010. Trouble is, the library (and accompanying header ) have …

c++ visual-studio-2010 mfc linker static-linking
ofstream creating file but not writing to it in C++

I am writing an MFC program that has a dialog with an "Export" button that will take all of the …

c++ mfc ofstream