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.

How to catch a scroll event in a CListCtrl?

I subclassed CListCtrl into my own class, and I use it in several dialogs and views. What I want to …

c++ mfc scroll clistctrl
Class names that start with C

The MFC has all class names that start with C. For example, CFile and CGdiObject. Has anyone seen it used …

c++ visual-c++ mfc hungarian-notation
Difference between a C++ exception and Structured Exception

Can someone explain the difference between a C++ exception and a structured exception in MFC?

c++ exception mfc
How do I host WPF content in MFC Applications?

I'm going to answer my own question here because I spent a few hours piecing this together and wanted to …

wpf mfc wpf-controls
Get text from CComboBox

I have a CDialog (myDialogBox) that has a CComboBox member (myComboBox). My goal is to get the user-typed text (preferably …

visual-c++ mfc ccombobox
error RC2176 : old DIB in res\icon3.ico; pass it through SDKPAINT?

what is this Error, and how to resolve it? I am using Visual studio 2005 for Smart device MFC developement, Is …

visual-c++ windows-mobile mfc smart-device
MFC measure function in milliseconds

How can i count the millisecond a certain function (called repeatedly) takes ? I thought of: CTime::GetCurrentTM() before, CTime::GetCurrentTM() …

mfc ctime
Difference between CDialog and CDialogEx

What is the difference between CDialog and CDialogEx? I decided to use CDialog because I can't assign m_pMainWnd to …

visual-c++ mfc compare cdialog
How to use a CTabCtrl in a MFC dialog based application?

I need to do something which i expected to be was simple - create a tab control which has 2 tabs, …

user-interface mfc tabcontrol ctabctrl
MFC data forwarding to main thread via PostMessage

I have a C++/MFC application I need to restructure. The app used to process most of the data on …

c++ visual-studio-2010 mfc postmessage