Click here to Skip to main content

Microsoft Foundation Classes

Great Reads

by The Ultimate Toolbox
The Ultimate Grid is now Open Source
by The Ultimate Toolbox
The Ultimate Toolbox supports Office XP, Office 2003, and Classic application skins
by jean Davy
As you use CString, you have access to the CW2A ATL macro, assuming that you work with _UNICODE defined, here it is:CString theCStr;...std::string STDStr( CW2A( theCStr.GetString() ) );which will convert to "system encoding on the user's machine" (thanks Nemanja[^] comment !), if you...
by oleg63
CString m_Name;CT2CA pszName(m_Name);std::string m_NameStd(pszName);Works for me everywhere... :)

Latest Articles

by Mukit, Ataul
This tip tells you what to do when you are faced with the RC2135 problem in the resource file.
by ReturnVoid
Working example: OpenGL CDialog Multiple Context
by The Ultimate Toolbox
Updates and User Contributions for the Ultimate Toolbox Libraries
by Andy Bantly
An easy DOS framework for creating and managing a service

Discussions

by Shibu Krishnan on Article "MFC GDI drawing using Pen and Brush"
by SemiEleven on Article "Object-oriented Programming via MFC"
by SemiEleven on Article "Text ScrollBar Control"
by SemiEleven on article "MFC Snapping Windows"
by SemiEleven on Article "MFC version VCOMBOBX"

All Articles