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.

Split functionality for MFC Cstring Class

How to Split a CString object by delimeter in vc++? For example I have a string value "one+two+three+…

visual-c++ mfc
MFC - change text color of a cstatic text control

How do you change the text color of a CStatic text control? Is there a simple way other that using …

mfc visual-c++
How to get size and location of a control placed on a dialog in MFC?

I've got the pointer to the control with function CWnd* CWnd::GetDlgItem(int ITEM_ID) so i've got CWnd* pointer …

c++ mfc
What is `CString`?

Why do I see some code using CStrings declared differently. Some use this format char a_c_string []; While others …

c++ string mfc
How to create a resizable CDialog in MFC?

I have to create a dialog based application, instead of old CFormView type of design. But CDialog produces fixed-size dialogs. …

winapi mfc
Redefining or changing macro value

I am currently working on an already developed project written in MFC C++ and am facing a problem with an …

c++ mfc macros redefinition
How do I decide whether to use ATL, MFC, Win32 or CLR for a new C++ project?

I'm just starting my first C++ project. I'm using Visual Studio 2008. It's a single-form Windows application that accesses a couple …

c++ winapi mfc clr atl
How to Use Timer in MFC Dialog based Application?

I am developing MFC Dialog based application in Visual Studio 2008. I want to use timer that start on start of …

c++ c mfc
MBCS Error building MFC C++ project with Visual Studio

I opened my existing MFC project using Visual Studio and when I build I get the following error message: Error 1 …

c++ visual-studio-2013 mfc visual-studio-2015 mbcs
C++ MFC vs .NET?

My colleagues are using Visual Studio 2002 and uses the C++ MFC. I am developing in C #. It has not been …

c# .net c++ mfc visual-c++