Click here to Skip to main content
15,867,568 members
Everything / Desktop Programming / MFC

MFC

MFC

Great Reads

by Hans Dietrich
XQueue implements a shared-memory first-in first-out (FIFO) queue, based on memory-mapped files, that works on all versions of Windows.
by Paul Vickery
Code to add a message bar to virtually any existing Windows control.
by Hans Dietrich
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
by Paul M Watt
Guide to understanding how to create and use regions with the WIN32 SDK

Latest Articles

by Ștefan-Mihai MOGA
This article is about the IntelliFile application which is a free alternative Windows version to Total Commander and uses many components that have been published on CodeProject.
by Ștefan-Mihai MOGA
An alternative Windows version to XML Sitemap online generators
by PJ Arends
An MFC CWnd derived grid of user definable tiles
by Shao Voon Wong
Lee Algorithm Mazesolver in MFC and Direct2D

All Articles

Sort by Updated

MFC 

20 Aug 2009 by "Fish" (David B. Trout)
A command-line tool to run multiple programs in parallel (i.e. concurrently, as a group).
16 Apr 2001 by #realJSOP
Technique for utilizing a CResizablePage in a CFormView-derived class
6 Jun 2001 by #realJSOP
Extension of Paolo Messina's CResizableDialog concept
14 Mar 2002 by #realJSOP
Parse strings with specified delimiter and specified quote character
7 May 2001 by #realJSOP
Track a mouse click, even in a scrolled view
12 Dec 2001 by #realJSOP
A small function to either accept or create a UUID* and return a CString
8 Dec 2002 by #realJSOP
Some dialogbox code to give the Blonde a clue
22 Dec 2003 by #realJSOP
Add a scrollbar to a property page when the SIP is displayed.
13 May 2005 by #realJSOP
Create blinking cells for Chris Maunder's grid control.
9 Aug 2005 by #realJSOP
Enumerate all controls in a dialog box or form view.
28 Jul 2006 by #realJSOP
Copy a bitmap over a portion of another bitmap
3 Aug 2006 by #realJSOP
A passable workaround for the COleDateTime formatting behavior in MFC8.
27 Jan 2007 by #realJSOP
Implement XML application profiles that are similar (but not too similar) to using INI files
26 Jan 2007 by #realJSOP
Add menu items to, and learn how to handle the system menu
12 May 2005 by #realJSOP
Build a menu and/or a toolbar dynamically without using resource files (well, almost).
1 Sep 2008 by >>MonMon<<
Already made MFC ownerdraw listbox that holds text and icons
18 Jul 2001 by (Steven Hicks)n+1
Add 404 encoding to your application with this DLL
6 Aug 2002 by -Kirill-
Enhancing window fade-in to render common controls correctly and to allow the window to remain transparent after the fade-in
27 Jul 2002 by .dan.g.
A dynamic window attribute viewer to replace Spy++
14 Dec 2002 by .dan.g.
Provides built-in graying, rotating, shearing, resizing, blurring, sharpening, flipping, negating and color replacement to CBitmap as well as support for user-defined processing plug-ins
21 Mar 2003 by .dan.g.
Simplifying the implementation of Windows hooking through the use of a templatized manager class
31 Mar 2004 by .dan.g.
A one-click process to building the source files in the active project into a self contained zip file, using this simple-to-use Visual Studio Add-In
25 Mar 2006 by .dan.g.
A support tool to allow those performing builds to independently determine exactly what source files have been changed and by whom
27 Sep 2003 by .dan.g.
A Visual Studio addin for creating and editing ASCII diagrams in source files
27 Sep 2003 by .dan.g.
A 'Visio-like' tool for adding and editing ascii diagrams in your source code
11 Oct 2003 by .dan.g.
A self-contained, user-extensible, application-wide skinning architecture for Windows controls.
31 Mar 2004 by .dan.g.
Zip your VC6 and .NET workspace and project files using a Standalone Executable, an Explorer shell extension or an updated VC6 Addin
21 Mar 2004 by .dan.g.
A 'drop-in' FTP solution for applications providing a full GUI, extended commandline options and no resource files. Use standalone or compiled into your own app.
30 Jun 2002 by .dan.g.
A framework for overriding all aspects of a tab control's apprearance, including the borders, the background and of course the tabs themselves.
15 Apr 2003 by .dan.g.
A utility providing enhanced Windows message debugging.
26 May 2003 by .dan.g.
A new and unique approach to the perennial problem of how to change the default appearance of Windows menus
17 Sep 2023 by .dan.g.
A hierarchical task manager with native XML support for custom reporting
22 May 2005 by .rich.w
An MFC implementation of a DNS class, it can retrieve multiple IPs and hostnames.
25 Jun 2005 by .rich.w
An easy updating method with a small foot print.
9 Aug 2005 by .rich.w
An easy to use class based around unrar.dll.
28 Oct 2004 by 110_110_110
A class for setting various attributes of static text such as font, color, or alignment.
28 Mar 2003 by 73Zeppelin
An article on 2-D Polygon Clipping
19 Dec 2001 by @deel@bbas
A CRectTracker derived class that is able to do much more
19 Apr 2010 by @Intersect☺™
It will help to understand the usefulness of writing codes with good programming practice
10 Jun 2008 by [d3m0n]
A Calendar UI extension component for the ToDoList, giving you a timeline view of your tasks
16 Jul 2002 by [goofy]
An article on simple loading GIF, JPEG pictures from a resource (.RC) (no MFC)
30 May 2001 by [James Pullicino]
Saving the size and positions of windows so that they can be restored next time the app loads up
23 May 2002 by [James Pullicino]
Save window sizes, positions and state for all frames in an MDI MFC Application
19 Jan 2005 by _anil_
Use DeviceCapabilities function to get the paper name of a printer.
3 Oct 2006 by _AnsHUMAN_
A simple button control showing the use of a property page.
4 Aug 2001 by _declspec
A program that counts the lines (source, comments, blank) in every file included in a MS VC++ 6.0 project
16 Oct 2014 by _Flaviu
20 Feb 2012 by _Flaviu
An enhanced list control based on the standard CListCtrl MFC class.
23 Sep 2016 by _Flaviu
A ListCtrl ComboBox control
11 Sep 2018 by _Flaviu
A way to use OpenCV in MFC project
30 Jul 2020 by _Flaviu
A guide to choosing and implementing a worker thread in your application
10 Dec 2015 by _Flaviu
A combobox control which shows a drop down window to assist the user.
4 Jan 2020 by _Flaviu
Switching between open documents in multi-document interface application
8 Aug 2009 by _Reinhard
A simple to use tool that generates ADO based classes for calling SQL Stored Procedures. Only a few clicks, and you can access any Stored Procedure in your database.
4 Jan 2000 by _stefanu_
Demonstrates using a list control to display thumbnail views of images
4 Jan 2000 by _stefanu_
Using fixed panes to add rulers to your view
4 Jan 2000 by _stefanu_
A simple method that allows a toolbar to be docked inside a splitter pane
25 Sep 2006 by aaa_xxx_aaa
The Win API cannot access inifile in UNICODE, sometimes, we may want to add some wide characters into INI file, so I wrote a class to access INI file in UNICODE
17 Jun 2004 by Aamir Butt
An article on how to put and get information to an OLE Structured Document.
18 Feb 2003 by Abbas_Riazi
Use serial ports to add GPS (Global Positioning System) support to your desktop computer by using NMEA0183 protocol
19 Aug 2003 by Abbas_Riazi
Obtaining Information from Computer Hardware/Software
6 Jan 2003 by Abbas_Riazi
Add an analog clock to your project (A tutorial for creating CStatic derived controls)
8 Feb 2003 by Abbas_Riazi
A CStatic derived class to show drive information.
10 Jan 2003 by Abbas_Riazi
A List Control to Monitor Windows Registry
25 Jan 2003 by Abbas_Riazi
Use WiNRADiO card to add radio support to your desktop computer
15 Mar 2003 by Abbas_Riazi
A Shell Extension Context Menu to Change Skin of Windows Explorer
23 May 2003 by Abbas_Riazi
Using MATLAB engine to solve engineering problems.
1 Jul 2003 by Abbas_Riazi
Using MATLAB Engine API to control MATLAB
21 Jul 2003 by Abbas_Riazi
Using MATLAB C++ Math Library to solve engineering problems
18 Apr 2004 by Abbas_Riazi
A CStatic derived class for displaying GIF Animations.
21 Jul 2003 by Abbas_Riazi
A Free Tool to Convert Bin Image Format to ISO Image Format
2 Apr 2004 by Abbas_Riazi
A tree control to show installed devices like Device Manager
16 May 2004 by Abbas_Riazi
A CStatic derived class to show some visual effects on images.
5 Nov 2004 by Abbas_Riazi, Shafiee
Introducing AVI functions for extracting frames of an AVI movie and saving them in bitmap files.
16 Apr 2005 by Abbas_Riazi, Shafiee
This article introduces some useful classes that wrap the WAVE APIs.
22 Apr 2005 by Abbas_Riazi
A utility for bulk scanning, converting the scanned pages to PDF and burning them on CD/DVD for archiving.
18 May 2003 by abc876
This article explains how to prevent your programs from memory leaks, by incorporating Garbage Collector in your class.
20 May 2003 by abc876
This article explains how to effectively use variable argument functions and what's going behind the scenes
26 Jun 2003 by abc876
This article explains how you can can send anonymous net send messages to any host
1 Sep 2007 by Abdellatif_El_Khlifi
How to delete/modify a system file which is protected by Windows without being detected by the OS protection.
20 Jun 2004 by Abdul Hye
Usage of Progress Bar control.
23 May 2000 by Abhijit Bhole
A set of MFC classes the duplicate the Java Swing look and feel
7 Jul 2003 by abhinaba
This article discusses how the layering feature in Windows 2000 and Windows XP can be used to make any application transparent even when its source is not available
7 Jul 2003 by abhinaba
This article discusses the CDialogSK class that extends the CDialog MFC class and can be used to create dialogs that can be skinned.
31 Jul 2003 by abhinaba
This article discusses how an application can apply visual effects to the desktop, by copying desktop contents, applying effects on it and then re-displaying it.
30 Sep 2003 by abhinaba
This article discusses the ColorFinder application that can be used to retrieve the color of any pixel on the desktop in various formats
6 Dec 2003 by abhinaba
This article outlines a simple way to create dialogs which are not rectangular in shape
6 Jul 2004 by abhinaba
This article describes creation of splash windows using Win32 APIs
19 Aug 2003 by abhinaba
This article discusses the CCheckSK class that extends CButton MFC and can be used to create check boxes that look like LEDs.
15 Sep 2011 by abhishek.biradar
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
12 Feb 2002 by Abin
CAniDialog : An Animation-Style Dialog Class Derived from CDialog and Using DrawWireRects
28 Feb 2003 by Abin
A class that allows fast and easy file/directory operation
4 May 2003 by Abin
An MFC CListCtrl derived class specialized in report-style list control manipulation.
31 Dec 2003 by Abin
A report style CListCtrl supporting sorting, sub-item editing, sub-item image, sub-item color etc.
25 May 2004 by Abin
A file/folder browsing control that integrates an editbox and a button with built-in images
11 Jul 2007 by abn9c
An article describing how to compile Matlab 7.1-7.4 mexw32 files using Visual Studio 2005
14 Sep 2006 by Abu Mami
1 Nov 2004 by Achilleas Margaritis
Description of the library AGM::LibReflection.
19 May 2005 by Achilleas Margaritis
A small library that gives C++ objects the ability to have properties.