Click here to Skip to main content
15,885,141 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
Task Manager shows you the programs, processes, and services that are currently running on your computer. You can use Task Manager to monitor your computer’s performance or to close a program that is not responding.
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

All Articles

Sort by Title

MFC 

5 Sep 2001 by Marat Bedretdinov
Shell interfaces in use. IShellFolder, IEnumIDList, etc.
4 Feb 2003 by Nicolas Bonamy
Two simple ways to add "Do not ask again" Message Boxes to your application.
16 Apr 2001 by Igor Sukhov
The ATL and MFC versions of the class that implements a dialog for selecting users(computers) within the Windows Network.
27 Mar 2007 by vishalkmehta
This article demonstrates how to leverage the power of images and inheritance to achieve a "skinned" look for your Windows applications.
19 Sep 2006 by tanvon malik
This article shows you ways to run Control Panel applets from VC++, even those that don't have a cpl extension file.
15 Nov 2003 by Prakash Kumar Singh
This article explains and demonstrates various ways to implement localization in your .NET application.
2 Nov 2010 by Daniel Ranger
Native C++ implementation of the .NET Asynchronous Design Pattern using Windows I/O Completion Ports
19 Feb 2004 by Mathias Taylor
Export Microsoft Outlook data using XML DataSets and the Outlook COM Object Library.
9 Dec 2002 by Stoyan Damov
A Draft Implementation of an Idea for .NET Dynamic Software Load Balancing
17 Sep 2004 by Nick Parker
A free IE toolbar that pulls up namespace and class documentation on the new MSDN site.
13 Aug 2002 by Bill Ferreira
File encryption object using Managed Extensions for C++
28 Jan 2013 by fraudlabs
solution to prevent chargebacks and to reduce fraud for online merchants
19 Jan 2003 by peterchen
Setting up doxygen, a free tool to document your code, in a few simple steps.
1 Oct 2013 by Mohamed Kalmoua
2-3 tree implementation in c++
24 Jan 2005 by darkoman
An article on creating 2D animated charts using Windows GDI.
20 Jul 2012 by Sunil P V
This article is a simple geometry library for drawing lines, circles, arcs, text, etc.
19 Oct 2007 by Chesnokov Yuriy
This article demonstrates the use of 2D Fast wavelet transform for image processing
5 Aug 2003 by Nikolai Teofilov
An ActiveX control for 2D data visualisation
14 Apr 2014 by auralius manurung
An article on designing your own robot simulator
7 Jan 2003 by valgouss
A simple 2D Pie Control
6 Apr 2005 by asef
An article for drawing a String formula at a static.
17 Feb 2002 by John Aspras
Ever seen 3D Studio 2.5 Slidable DialogBar? Want to know how they did it?
17 Feb 2009 by MikeTheDwarf
Helper class to display 3D data
6 Jun 2005 by asef
An article to draw a 3D math function on a static control.
10 Sep 2013 by Pablo Aliskevicius
Memory reallocation generated by string concatenations can create performance bottlenecks. .NET has System.Text.StringBuilder, JavaScript has Array.join, and we have string::reserve.
10 May 2017 by Petrov Vladimir
Former NeHe OpenGL Lessons adapted to MSVS-15 pro MFC in INICODE and the samples of the Joystick implementation
5 Jun 2002 by Joseph M. Newcomer
A simeple editor to make my polygon class a bit more usable.
8 Apr 2000 by Pete Sackett
A function that simulates the keyboard repeat behavior for mouse clicks
28 Nov 2002 by Ben Peterson
An application to examine .NET assemblies both directly and with reflection
20 Mar 2000 by Paul Barvinko
A comprehensive set of classes for displaying 2 dimensional data
21 Dec 2004 by Hossein Khosravi
A 2D graph component with zoom capability.
6 Feb 2005 by Bob Ciora
Definition of the CDSSD3DView8 class, a CView-derived class to facilitate Direct3D development with SDI.
7 Mar 2003 by Marc Clifton
An Example Of How To Interface To Dallas Semiconductor's iButton And 1-Wire Network
10 Jan 2013 by Mehdi Bonvari
Using MCIWnd wrapper class to write a simple media player
27 Jun 2002 by Yingle Jia
An article on implementing undo/redo functionality in C++.
31 Jul 2000 by Andrew Peace
An article showing the basics of the linked list, and how the CList class operates
11 Aug 2000 by Dr. Asad Altimeemy
A step by step tutorial showing how to create your first windows program using MFC
29 Mar 2004 by BlackDice
Lets user create and manipulate 3D DirectX models.
14 Oct 2001 by Joseph M. Newcomer
An improvement on the CBitmapButton class.
3 Oct 2000 by Brian C Hart
This is a good replacement for CWnd::CenterWindow() that works.
18 Oct 2000 by Chris Maunder
A GUI front end to a handy utility
21 Jan 2003 by James R. Twine
An article that describes yet another hyperlink control
9 Jan 2000 by Hans Bühler
A bevelline control that displays vertical and horizontal text
17 Jul 2002 by Dave Matrix
How to draw/redraw a rectangle along the window rect, when the window is activated or deactivated.
2 May 2004 by David Crow
A brief discussion on how to use NetShareEnum, NetConnectionEnum, and NetFileEnum
12 May 2001 by Andrew Peace
An article showing a button group control used to create toolbar-type groups as seen in the Visual Studio options dialogs.
7 Jan 2003 by datenkabel
This class provides a button with rollover behavior
23 Feb 2007 by Ronounours
I propose a simple version of a Breakout (or Arkanoid) game in few C++ lines.
10 Oct 2007 by Jia.Chen
This article uses a simple example to show how to build a Firefox component intercepting/operating DOM
30 Jul 2002 by Jonathan de Halleux
This class generates isocurves of a user defined function. Curves are drawn to OpenGL dc or stored in line strips.
7 Nov 2002 by Romout
The control overwrites the windows event handler to overtake the paint event.
15 Dec 2005 by Gabriel Bizzotto
This library provides a simple set of classes for creating GUIs. It uses only the Win32 API with some common controls. The development is at the beginning and many changes are to be done.
16 Sep 2005 by Rogério Paulo
A C++ library for developing SNMP managers (clients) on Windows.
7 Feb 2000 by Rajiv Ramachandran
A C++ wrapper for TWAIN. Allows you to implement a scanning interface.
19 Jan 2000 by Zoran M. Todorovic
An auto-sizing dialog used to store and display smaller child dialogs.
6 Dec 2003 by Rob Manderson
Using the Rich Edit control as a chat window.
15 Aug 2005 by Luo Pei'en
An article on how to write an Edit control used for HEX and DEC number input.
22 Mar 2004 by Rob Manderson
Browse your images with a file open dialog and see what you've selected
3 Nov 2003 by Chris Hills
How to put a child dialog in a dialog box
10 Sep 2002 by YangTze
This class can be used to get netcard adapter information such as MAC,IP,DHCP
17 Mar 2006 by Ankit Tandon
This class uses keybd_event and CreateProcess to create a script processor and executor. The script can be used for automation of daily tasks such as opening and checking mail accounts, automating the functionality of software etc. This will work with any app which can take input via keyboard.
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
23 Jan 2018 by Cem KARACA
An article on how to combine Slider Controls and Progress bar into one class using custom draw
16 Apr 2002 by Chris Maunder
A simple class to ease the task of downloading files from the net
26 Oct 2002 by Jonathan de Halleux
If you want to generate an AVI video from your OpenGL application, this is the class you need.
5 Apr 2004 by Rob Manderson
Enumerating folder contents the reusable way
2 Jan 2002 by Kuniva
CListBoxSafe is a class that can save data from a listbox to file and load data from a file into a listbox.
15 Oct 2004 by Rob Manderson
Synchronising thread completion the easy way
27 Jun 2001 by Joseph M. Newcomer
Taking the pain out of adding a horizontal scrollbar to a listbox.
18 Aug 2004 by Sprotty
An introduction to XML Data Binding, and a review of a number of leading products.
14 May 2006 by Frederic Ntawiniga
The way of reading AVI files without installing codec drivers.
4 Sep 2000 by James White
A simple modification to Chris Maunder's "Office 97 style Colour Picker" control
23 Jan 2002 by jack Mesic
A color picker and dropper that extends the standard Windows dialogs to behave like Photoshop or Frontpage 2000
22 Dec 2002 by Philipos Sakellaropoulos
A COM component written in C++ that offers functions for multiple parallel downloads, Internet cache access, URL and path resolving.
24 Oct 2002 by Johnson Zhou
Create a new combobox which can fill itself automatically using a dictionary in XML
24 Nov 1999 by Anneke Sicherer-Roetman
A combo box that can be used to display bitmaps
25 May 2011 by Rob A. Fraydl
Extends the CStatic with image, frame, shadow and using individual font
1 Oct 2001 by Carlos Antollini
A class that permit to get easily the command line parameters
4 Feb 2003 by Martyn Pearson
An edit control that encapsulates compacting of filenames
30 Aug 2003 by gspatwal
A brief article comparing and contrasting the features of Java and C#.
18 Jun 2012 by Thomas Wells
A ComboBox with a read-only property that allows text copy and drop-down viewing
25 Oct 2002 by Chen Su
complete screen saver framework with an installation program.
23 Jul 2004 by jackey_xp
A cool bitmap slider like Windows Media Player's.
18 May 2004 by Pure_Acid
27 Aug 2003 by ucc801
A cool GDI pattern brush tool with C++ source code. You can create a new office XP style pattern fill mode quickly.
25 May 2008 by James Duy Trinh (VietDoor)
A cool skin GUI with shadow border; display images (supports many formats) on dialogs, buttons, listboxes.
2 Apr 2001 by Jason Troitsky
A CStatic derived class that can be dropped into an application to provide the ability to load and display 3D objects
6 May 2005 by Naveen Karamchetti
Creation of a custom drawing application based on the .NET Panel class.
12 Jun 2001 by Brett R. Mitchell
A combobox-like control that allows groupings within the elements in the dropdown list.
31 May 2006 by oto spal
If you demand the most possible control of your code, if you like to force Windows looking your way, and if you are lazy enough, this tutorial is exactly for you.
31 May 2006 by oto spal
This article explains how the support for dialogs and various controls were implemented in the custom GUI system.
17 Mar 2000 by Gerolf Reinwardt
A custom-drawn tree-list hybrid, with explanations on how the control was developed.
1 Dec 2008 by PrasadPerera
This article is to basically explain how to create a customized drawn window for MFC applications.
19 Feb 2003 by João Paulo Figueira
A class to format COleDateTime objects into strings using standard formatting codes.
14 Nov 2003 by SevenCat
A DDK's project wizard for VC2003.
16 Feb 2003 by Marc Clifton
Use this class when high precision is required in basic numerical operations.
26 Jul 2010 by Yiping Cheng
A MFC application featuring a syntax coloring text editor, DevStudio-like toolbar, status bar, and output window, and multithreaded computing
21 May 2001 by Chris Maunder
A class that makes using DIBSections as simple as using a CBitmap