Click here to Skip to main content
Page 1 of 5
Page Size: 10 · 25 · 50


Category filtered by:  Platforms, Frameworks & Libraries [x] | MFC [x] | General [x]
Tip/Trick 25 Apr 2013   license: CPOL
This tip tells you what to do when you are faced with the RC2135 problem in the resource file.
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 6 Apr 2013   license: CPOL
Working example: OpenGL CDialog Multiple Context
Platforms, Frameworks & Libraries » Mfc » General
Article 30 Oct 2012   license: GPL3
Easily create windows that snap to each other.
Platforms, Frameworks & Libraries » Mfc » General
Technical Blog 5 Oct 2012   license: CPOL
I recently ran into problems with an MFC application that was hosting some Windows Form user control in a modal dialog; the application hanged after it lost focus. The problem was the window received WM_GETDLGCODE message in an infinite loop making it impossible to handle anything else. After a lot
Platforms, Frameworks & Libraries » Mfc » General
MFC
Tip/Trick 17 Apr 2012   license: CPOL
A Photoshop-Like Color Palette Dialog in MFC
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 21 Feb 2012   license: CPOL
Information about COleDataSource not contained in the Microsoft documentation or hardly to be found.
Platforms, Frameworks & Libraries » Mfc » General
Article 5 Feb 2012   license: CPOL
This article shows how to use CrashRpt error reporting library with an MFC application
Platforms, Frameworks & Libraries » Mfc » General
Article 17 Jan 2012   license: CPOL
CScrollBarEx is a simple MFC control derived from CWnd, it can display scrollbar max, min, and current value
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 1 Dec 2011   license: CPOL
LPSTR WideChar2MBCS( const CString& strCS ){ const UINT wLen = strCS.GetLength() + 1; UINT aLen = WideCharToMultiByte(CP_ACP,0,strCS,wLen,NULL,0,NULL,NULL); LPSTR lpa = new char[aLen]; WideCharToMultiByte(CP_ACP,0,strCS,wLen,lpa,aLen,NULL,NULL); return...
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 13 Nov 2011   license: CPOL
I am using CString str(_T("Test"));typedef std::basic_string string_t;string_t resStr(str);It works because the CSting has a cast to LPTCSTR.
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 6 Nov 2011   license: CPOL
How to implement the missing CMFCListView class.
Platforms, Frameworks & Libraries » Mfc » General
MFC
Tip/Trick 1 Nov 2011   license: CPOL
How about this (assuming your project is set to Unicode)?CString strMyString=L"Test string";std::string strMyStdAnsiStr = CStringA(strMyString);
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 30 Oct 2011   license: CPOL
In UNICODE:CString str = L"Test";std::wstring ws(str);std::string s;s.assign(ws.begin(), ws.end());
Platforms, Frameworks & Libraries » Mfc » General
Article 30 Sep 2011   license: CPOL
WTL programming for MFC developers - resizing dialogs & formviews
Platforms, Frameworks & Libraries » Mfc » General
Article 15 Sep 2011   license: CPOL
In this project, the displayed device context can be converted to images Using Cimage class, Creating PDF using Haru PDF Library and simple code for printing the Device context
Platforms, Frameworks & Libraries » Mfc » General
Article 17 Jul 2011   license: CPOL
Problems I encountered when polishing the GUI of an existing 200K LOC application.
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 7 Apr 2011   license: CPOL
CString m_Name;CT2CA pszName(m_Name);std::string m_NameStd(pszName);Works for me everywhere... :)
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 2 Apr 2011   license: CPOL
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...
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 29 Mar 2011   license: CPOL
C++: Converting an MFC CString to a std::string
Platforms, Frameworks & Libraries » Mfc » General
Article 14 Jan 2011   license: CPOL
Read/write serialize/unserialize any kind of arbitrary set of C++ data structures in the Registry.
Platforms, Frameworks & Libraries » Mfc » General
Article 11 Jan 2011   license: CPOL
Enabling font and formatting changes in the MFC hyperlink control
Platforms, Frameworks & Libraries » Mfc » General
Article 4 Jan 2011   license: CPOL
A MFC based virtual combo box
Platforms, Frameworks & Libraries » Mfc » General
Article 16 Dec 2010   license: CPOL
Owner drawn CListBox control, supports MultiLine, Foreground and Background color change
Platforms, Frameworks & Libraries » Mfc » General
C++
Article 8 Nov 2010   license: CPOL
Easy to use macros provide typesafe Windows message passing with call semantics.
Platforms, Frameworks & Libraries » Mfc » General
Tip/Trick 21 Oct 2010   license: CPOL
printf is so 1980s. If you don't want to dig out your shoulder pads and big hair why not go for a more modern C++ approach?Instead of a function try a stream buffer:class message_box_stream_buf : public std::basic_streambuf{ public: message_box_stream_buf( const...
Platforms, Frameworks & Libraries » Mfc » General

Page 1 of 5
1 2 3 4 5


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid