Click here to Skip to main content
15,946,316 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 Shao Voon Wong
MFC KillFocus Derived CEdit to solve the Q&A question which has been reposted
by Michael Haephrati
SG_PNG is a custom MFC control for displaying PNG resources with transparency
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.

All Articles

Sort by Score

MFC 

17 Jan 2005 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.
23 Oct 2008 by Paul Vickery
Code to add a message bar to virtually any existing Windows control.
19 Jul 2007 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.
10 Mar 2002 by Paul M Watt
Guide to understanding how to create and use regions with the WIN32 SDK
26 May 2006 by Michael Dunn
A tutorial on writing a shell extension that can be used on the Send To menu.
10 Nov 2002 by Alexey
The ALXGrid Control Library is a set of classes for management of data as a table.
6 Apr 2020 by Jovibor
Owner-draw list control with tooltips, editing, colors, sorting, hyperlinks, columns hiding and lot more.
4 Sep 2002 by Stephane Rodriguez.
This article demonstrates how to automate IE's Save As functionality
20 Apr 2002 by Chris Losinger
A base class for a prefereneces dialog, similar to that used in Netscape
1 Nov 2017 by peterboulton
Add new Ribbon themes to MFC application built using VS Feature Pack' classes
5 Apr 2001 by Joseph M. Newcomer
How do you capture the bitmap of a window? This little download shows how, and places the bitmap on the clipboard.
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
7 Apr 2000 by PJ Naughter
A collection of freeware MFC classes to encapsulate the SNTP protocol.
26 Dec 2001 by Chris Maunder
Some classes and utility functions for general computational geometry
29 Nov 2004 by peterchen
Do your users a favor - add snapping edges to MDI child windows (or anywhere else).
19 May 2021 by Michael Haephrati
How to enhance the MFC CSplitButton control to support images
26 Nov 1999 by Chris Maunder
Shows how to use text callbacks in list controls
24 May 2006 by Michael Dunn
A tutorial on writing a shell extension that provides custom drag and drop functionality.
9 Jun 2002 by Chen Hao
How to control the dependancy on oleacc.dll in your Visual C++ .NET applications
6 Feb 2000 by Keith Rule
Create visually complex, yet programmatically simple, non-rectangular GUIs
5 Nov 2002 by Alexey
The alxBase classes for work with dbf files.
27 Aug 2002 by Nish Nishant
A wrapper class for SHFormatDrive (XP/2K only). Corrects some errors in KB article Q173688
19 Nov 2013 by Julijan Sribar
Easily extensible owner-drawn combo box with items grouping and sorting
6 Feb 2000 by Stuart Carter
This article explains how to support file drag and drop in your CWnd-derived object
14 Jun 2002 by Neil Van Eps
An article on drawing Code 39 barcodes to the screen or to the clipboard
5 Dec 2019 by Petrov Vladimir
Compact and simply Vector Formula of the Intersection Point of Two Line Segments
20 Mar 2009 by SBJ
A Model-View-Controller Framework that integrates with the MFC Doc/View architecture
6 Mar 2012 by Chandrakantt
Registering a custom URL protocol for invoking an application
17 Oct 2021 by Petrov Vladimir
Starting Threads in MFC and Win32 and some handling samples
6 May 2002 by peterchen
An easy-to-use control to display bitmaps (stretch, scale, tile)
18 Dec 2001 by Davide Calabro
The reference control for MFC flat buttons with text and icons. Give your CE applications a professional look!
16 Jul 2002 by soptest
How MS implements them and why they do not want you to see the source code of those functions.
8 Nov 2004 by JaeWook Choi
An article on Mouse Gesture add-in for MS DevStudio 6.
14 Sep 2018 by bkelly13
Goal: Describe how asynchronous or non-blocking TCP code works
8 Apr 2002 by Jens Scheidtmann
Have you ever searched for a nice way to select a subrange from an interval? This may be the solution for you.
24 Aug 2007 by The Ultimate Toolbox
The Ultimate Toolbox supports Office XP, Office 2003, and Classic application skins
9 Jun 2000 by James Spibey
An article discussing a Plug-in for Nullsoft Winamp which looks and behaves like the Winamp UI.
8 May 2005 by Brian C Hart
We build our new server and install it on the server machine.
22 Aug 2001 by Valters Vingolds
Article describes how to obtain IHTML interfaces to prrogrammatically scroll WebBrowser control from Visual C/C++.
24 Feb 2002 by Kirill Panov
CDataGrid which was derived from CGridCtrl and used ADO for access to database.
2 Mar 2004 by gUrM33T
How to subclass an edit control in MFC so that it accepts numeric values only
28 Jul 2008 by Roland Trainor
A class to facilitate user defined dialog and window control layouts.
27 Mar 2001 by Joseph M. Newcomer
GDI objects selected in a DC can't be deleted - even when you call DeleteObject. This handy class makes these potential leaks a thing of the past.
13 Jan 2002 by Lim Bio Liong
A System Tray Utility to precisely capture screenshots of Windows and Controls anywhere on the screen.
25 Feb 2018 by Petrov Vladimir
Weiler-Atherton algorithm in MFC codes demo implementation
7 Jan 2001 by Marc Richarme
Yet another fully stacked control for displaying scrolling credits...
18 Jul 2003 by Ernest Laurentin
Introduction to Microsoft Script Hosting and Adding Macro Scripting language support to existing MFC Application
10 Dec 2001 by Yuriy Zaporozhets
Very primitive function that creates region from *.bmp files
25 Oct 2000 by Jim Crafton
An Article describing working with the Visual Component Framework
18 Dec 2012 by Lars [Large] Werner
Windows has built inn support for a lot of keyboard languages, this class makes it possible to extract that info in an easy manner and present it to screen.
20 Nov 2002 by Obliterator
Uses the poorly documented SHChangeNotifyRegister function to receive notification upon shell events
12 Dec 2008 by Iain Clarke, Warrior Programmer
A flexible easily overridable combo-box-alike control for choosing from a 2D array of options
1 Oct 2009 by Nishad S
A tool for capturing data from controls like TreeCtrl, ListCtrl, ComboBox, ListBox, etc.
28 Jan 2010 by Eugen Podsypalnikov
A semi-transparent selection rectangle
22 May 2012 by Mahfuzur Rahman.
Column based selection in rich edit control.
19 Dec 2016 by Petrov Vladimir
Joystick Win32 and MFC Projects Templates ready to use
9 Jan 2000 by Alexander Fedorov
A simple histogram control for displaying data
17 Jul 2001 by John Roark
A Simple Skinning Library
22 Mar 2005 by Muhammad Sheraz Siddiqi
This article describes how to make an offline browser using Visual C++/Win32 APIs.
9 May 2007 by Sherin Iranimose
An article on launching and embeding .exe applications into a dialog-based application
4 Oct 2013 by dchris_med
This is a sample project for "HTML Reader C++ Class Library"
14 Mar 2000 by Tom Archer
A class to dynamically read data from any ODBC data source
21 Jan 2002 by Carlos Antollini
A set of classes that make it easy to work with Network Management.
28 Sep 2002 by Matthijs Hollemans
A shell extension to allow you to select files based on a wildcard search
31 Oct 2002 by Justin Hallet
An example approach to solving the single instance application problem with command line argument passing.
5 Oct 2003 by Lynn McGuire
Folder Tab control for Windows MFC (like MS Excel).
20 Apr 2010 by David Crow
This article is a brief discussion on how to use FindFirstPrinterChangeNotification
20 Nov 2017 by Petrov Vladimir
The alternative Quadrics in OpenGL MFC for your Own design and Universal Polyhedron Procedure.
11 Mar 2018 by Petrov Vladimir
Weiler-Atherton algorithm in 3D codes demo implementation
27 Dec 1999 by Jason Troitsky
A CStatic class that gently fades text into view
11 Aug 2000 by Brian C Hart
We look at connection points and set up the server's end of one. We'll also finish implementing our SayHello() method.
30 Sep 2000 by Sherwood Hu
28 Apr 2001 by Dan Madden
An article showing you how to process (Outlook®) E-mail messages automatically by using an MFC dialog or NT service.
12 Mar 2003 by Alexander Wiseman
A class to wrap the use of CDatabase and CRecordset into one object to communicate with databases
16 Jul 2002 by Bartosz Bien
Command routing and UI updates for inactive views in a split frame.
11 Jul 2007 by Giuseppe Marazzi
A small tip for implementing a fallback resources process with MFC that's useful for localization
5 Oct 2007 by The Ultimate Toolbox
A selection of frequently asked questions submitted by users of the Ultimate Grid
13 Jul 2009 by Hou Tianze
A CStatic derived class that wraps the cool FX effect by dswigger.
5 Jan 2012 by Pansion_chen
Ownerdraw listctrl with transparent background and custermized items image on WinCE.
21 Sep 2017 by Michael Haephrati
How to detect the currently used language regardless of the active application
4 Jan 2020 by _Flaviu
Switching between open documents in multi-document interface application
3 Mar 2024 by Shao Voon Wong
Lee Algorithm Mazesolver in MFC and Direct2D
17 Mar 2000 by Gerolf Reinwardt
A custom-drawn tree-list hybrid, with explanations on how the control was developed.
2 Jun 2024 by Michael Haephrati
SG_PNG is a custom MFC control for displaying PNG resources with transparency
17 Jan 2000 by Koay Kah Hoe
Code to add printing capabilities to a Tree View.
30 Sep 2002 by HAMZADAYI
23 May 2018 by Andreas Schoenle
How to use CrashRptEx, to avoid some of the pitfalls of crash reporting in MFC apps or if you want the ability to continue your application after a crash
11 Apr 2023 by Shao Voon Wong
Consuming Your C# Library in MFC/C++ Project via C++/CLI
12 Jan 2000 by Henk Devos
Explains how to display the windows 'Pick Icon' dialog
28 Jul 2000 by Len Holgate
The ATL OLE DB Provider templates appear to rely on the fact that your data is kept in a simple array, but that's not really the case at all!
3 Jun 2000 by Chris Maunder, Fred Ackers
A new class that adds hyperlink support to the MFC Grid Control
31 Oct 2001 by Farooque Khan
Demonstrates usage of NetShare APIs.
1 Feb 2002 by Warren Gardner
Add bitmaps to your menus easily and with very little source code.
22 May 2014 by djc2032
A three-part series demonstrating how to develop an Oracle Call Interface (OCI) custom data source for Ultimate Grid
27 Jun 2016 by Ben Aldhouse
How I stopped worrying and learned to love Direct2D.
16 Aug 2020 by Michael Haephrati
Desktop application that can be used to convert from and to various audio formats, such as .mp3, .m4a and .wav
19 Jun 2022 by Ben Hanson
IDispatch C++ Code Generation Done Right
26 Nov 2001 by Davide Calabro
A collection of usefull icons contained into a DLL
4 Feb 2002 by Joseph M. Newcomer
A control for generating colour gradients