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.

Preventing multiple instances of my application

ADDITIONAL INFORMATION Again i am writing on the above issue (Preventing multiple instances of my application) the code works for …

c++ visual-c++ mfc
How do I force my app to come to the front and take focus?

I'm working on an application that happens to be the bootstrap for an installer that I'm also working on. The …

c++ windows mfc propertysheet dialogbasedapp
MFC: std::string vs CString?

Using C++ with MFC. Coming from a C# background I typically just use string for all, well, strings. I use …

c++ string mfc cstring stdstring
How can I get an HDC object from a CDC object?

I have an object, dc, of type CDC and I'd like to get an HDC object. I read the MSDN …

c++ windows mfc cdc
How to send a string via PostMessage?

Inside my app, I want to send a message to a dialog from a different thread. I want to pass …

c++ multithreading mfc postmessage cdialog
visual studio building error: unresolved external symbol _IID_IWICImagingFactory (MFC static lib)

I wrote a porgram with a few standard dialogs in an SDI (Doc/View enabled) project. Now that I want …

c++ visual-studio visual-studio-2010 mfc unresolved-external
What does AFX_MANAGE_STATE(AfxGetStaticModuleState()) do exactly

I have used a lot of modal dialogs and they worked fine without the use of AFX_MANAGE_STATE, but …

c++ mfc
Linker: cannot open file 'nafxcwd.lib'

I have problem with compiling my project via visual studio 2013. I got this linker error: LINK : fatal error LNK1104: cannot …

c++ mfc linker visual-studio-2013 visual-studio-6
Why can't Visual Studio 2008 locate afxcontrolbars.h?

I have installed VS 2008. When I try to build a project, I am getting an error saying: Cannot open include …

windows visual-studio-2008 visual-c++ mfc ribbon-control
VS 2017: fatal error RC1015: cannot open include file 'winres.h'

I just downloaded Visual Studio 2017 and converted my dialog-based C++/MFC project with it (from Visual Studio 2008 SP1.) But then …

mfc visual-studio-2017 resource-editor