Click here to Skip to main content
15,884,176 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 Updated

MFC 

8 Apr 2024 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.
30 Mar 2024 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.
14 Mar 2024 by Ștefan-Mihai MOGA
An alternative Windows version to XML Sitemap online generators
5 Mar 2024 by PJ Arends
An MFC CWnd derived grid of user definable tiles
3 Mar 2024 by Shao Voon Wong
Lee Algorithm Mazesolver in MFC and Direct2D
21 Feb 2024 by Ștefan-Mihai MOGA
You can use IntelliPort to transfer large files from a computer onto your portable computer using a serial port rather than going through the process of setting up your portable computer on a network.
8 Feb 2024 by Petrov Vladimir
Build up our own AVI editing application and explore some fun techniques using simple code additions
17 Sep 2023 by .dan.g.
A hierarchical task manager with native XML support for custom reporting
11 Apr 2023 by Shao Voon Wong
Consuming Your C# Library in MFC/C++ Project via C++/CLI
14 Feb 2023 by Atique Rahman
Tips and tricks on String manipulations in Unicode (Windows Programming context)
14 Oct 2022 by Ruth_Haephrati
There's no reason the buttons used as part of your programs' UI shouldn't be beautiful and practical at the same time. Introducing: ButtonFly — an all-in-one C++ class to reduce your overhead and create beautiful buttons.
22 Sep 2022 by Raphael Amorim
How to get plain text session using CryptoAPI
22 Aug 2022 by steveb
An application that stores and manages useful code snippets and keeps them always handy
19 Jun 2022 by Ben Hanson
IDispatch C++ Code Generation Done Right
30 May 2022 by Alexey Shalnov
Building old MFC app in .NET app, replacing MFC MDI Framework with modern WinForms or WPF Framework and integrating MFC Views and Dialogs in it
6 May 2022 by Petrov Vladimir
Masking Texture in OpenGL from Bitmap Image File using Class CImage (just call the File Name)
30 Apr 2022 by Petrov Vladimir
Simple solution for PDF performance from Image files of any kind
14 Mar 2022 by Andy Bantly
Visualizing the Mandelbrot set using multiple threads of execution
17 Oct 2021 by Petrov Vladimir
Starting Threads in MFC and Win32 and some handling samples
19 May 2021 by Michael Haephrati
How to enhance the MFC CSplitButton control to support images
14 Apr 2021 by Aleh Baradzenka
The control representing a regular ToolBar in the form of a tree of command buttons
26 Mar 2021 by Jochen Arndt
Add drag & drop support with drag images and drop descriptions to your MFC applications
25 Mar 2021 by Aleh Baradzenka
In this article, you will learn about an adjustable control that has zooming and scrolling tabs, dragging with the mouse, custom drawing and much more.
16 Mar 2021 by Aleh Baradzenka
This control is another kind of tab. Tabs are displayed as horizontal stripes and can be collapsed into buttons. Each tab is assigned its own window, which is shown when you click on the tab.
16 Mar 2021 by Aleh Baradzenka
In this article, you will learn about a control that is necessary for the partition of the dialog, main or child window of your program by several parts.
1 Mar 2021 by Ayush Swiss
Establish the communication between WebView2 and JavaScript by which you can send and receive the message via WebView2
15 Nov 2020 by Nick Pirocanac
Linker errors due to CStringT template classes and ATL vs. MFC issues
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
30 Jul 2020 by _Flaviu
A guide to choosing and implementing a worker thread in your application
21 Jul 2020 by Hans
Just for fun, a Conway's Game of Life application with many features using MFC Direct2D classes
6 Apr 2020 by Jovibor
Owner-draw list control with tooltips, editing, colors, sorting, hyperlinks, columns hiding and lot more.
13 Jan 2020 by Dominik Reichl
KeePass is a free, open source, light-weight and easy-to-use password manager.
4 Jan 2020 by _Flaviu
Switching between open documents in multi-document interface application
19 Dec 2019 by Edwig Huisman
CString only projects can convert to STL std::string
5 Dec 2019 by Petrov Vladimir
Compact and simply Vector Formula of the Intersection Point of Two Line Segments
27 Nov 2019 by Marius Bancila
Chromium Embedded Framework (CEF) v3 to embed a Chromium browser in an MFC application
20 Oct 2019 by Lance A. Endres
The algorithm presented by Radhakrishnan, et al., originally used to segment well logs for the oil industry, has been ported to C and C#.
25 Sep 2019 by Edwig Huisman
1 Aug 2019 by Michael Haephrati
A tiny Command Line Interface wrapped with a Graphic User Interface
9 Jan 2019 by steveb
Describes all aspects of MFC serialization mechanism
31 Dec 2018 by Craig Muller
This article introduces a convenient class for hooking into idle processing.
3 Nov 2018 by Philipp_Engelmann
How to create simple 2D games using JavaScript, React, Canvas and CSS
29 Sep 2018 by Alexander Atamas
A splitter control derived from CStatic for dialog controls, and that can be used not only within the restricted splitter pane.
29 Sep 2018 by libbyliugang
A splitter control for dialog can auto change the linked window's position
14 Sep 2018 by bkelly13
Goal: Describe how asynchronous or non-blocking TCP code works
11 Sep 2018 by _Flaviu
A way to use OpenCV in MFC project
19 Jul 2018 by Elia Sarti
A class which encapsulates a hyperlink control for web page redirection or normal button usage
1 Jun 2018 by YangManWoo
This article describes how to create custom controls using strategy patterns.
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
20 Mar 2018 by favedj
A fully working fix for this longstanding problem, tested in Windows 7 - 10
11 Mar 2018 by Petrov Vladimir
Weiler-Atherton algorithm in 3D codes demo implementation
25 Feb 2018 by Petrov Vladimir
Weiler-Atherton algorithm in MFC codes demo implementation
21 Feb 2018 by Marius Daniel Ciorecan
A library that provides an easy to use class (CDecompressLibrary) that will detect and decompress into memory buffers an archive file (zip, gz, tar.gz).
23 Jan 2018 by Cem KARACA
An article on how to combine Slider Controls and Progress bar into one class using custom draw
15 Jan 2018 by Michael Haephrati
How to integrate with Google Maps via an MFC dialog based application
27 Dec 2017 by Petrov Vladimir
Simple solution for small avi demo performance from Image files of any kind
20 Nov 2017 by Petrov Vladimir
The alternative Quadrics in OpenGL MFC for your Own design and Universal Polyhedron Procedure.
1 Nov 2017 by peterboulton
Add new Ribbon themes to MFC application built using VS Feature Pack' classes
21 Sep 2017 by Michael Haephrati
How to detect the currently used language regardless of the active application
18 Sep 2017 by David Wincelberg
Sort by month name in database tables, filenames or strings
4 Sep 2017 by Scott Page
FreeCal is a free 100% .NET suite of utilities and instrument drivers for controlling multiple instruments in a Test and Measurement environment.
25 Jun 2017 by rbrunton
How to determine whether the monitor is on or off as a result of a Windows Power Scheme action
9 Jun 2017 by Reza Shademani
The main goal of this article is to explain the practical details of low level network security programming.
23 May 2017 by Alejandro Xalabarder
An efficient and flexible layout manager
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
12 Apr 2017 by PJ Arends
This is an alternative for "An AutoRepeat Button Class"
3 Feb 2017 by Satish Jagtap
This article is written in VC++ as utility to manage startup applications of Windows.
9 Jan 2017 by Michael Haephrati
This article explains how the Skype account details are stored, how to fetch this information and in general, how to interpret XML files using Rapid XML library.
19 Dec 2016 by Petrov Vladimir
Joystick Win32 and MFC Projects Templates ready to use
11 Dec 2016 by Ștefan-Mihai MOGA
Did you spot any bugs today? Than this tool might save some of your time
30 Oct 2016 by Shao Voon Wong
Prototype SIMD vectorized code effortlessly.
23 Sep 2016 by _Flaviu
A ListCtrl ComboBox control
6 Aug 2016 by Petrov Vladimir
The alternative way of the MFC Project from Existing Code creation
5 Aug 2016 by Petrov Vladimir
Texture Mapping in OpenGL from any Image File in any format using Class CImage(just call the File Name).
27 Jun 2016 by Ben Aldhouse
How I stopped worrying and learned to love Direct2D.
18 Jun 2016 by Patrik Mlekuž
Image Control for viewing most common image formats with advanced features included (Import Image, Preview, Resize, Position, Pan, Zoom, Export Image, Extract Resource Icon).
7 May 2016 by PJ Arends
An MFC control for adding middle mouse button scrolling to any CWnd derived window
12 Apr 2016 by Shao Voon Wong
Benchmark of hash and non-hash container
11 Apr 2016 by Serge V. Sushko
SQLite access C++ classes
8 Apr 2016 by Codeman the Barbarian
Embedded Programming – Getting Started With the Netduino
5 Apr 2016 by Petrov Vladimir
The alternative way of recent files handling with the direct access to the list of the files notepad edit including.
24 Jan 2016 by Vladimir Misovsky
Overriding CMFCShellTreeCtrl and CMFCShellListCtrl classes
27 Dec 2015 by Sotirios Diamantis
You have a problem with your app, and limited computer resources; this code will help you find the problem, by giving you the sequence of function calls that caused it.
10 Dec 2015 by _Flaviu
A combobox control which shows a drop down window to assist the user.
24 Nov 2015 by nuclear_sun
You can share a peer's desktop with any others using this software, designate the sharer and viewers in any way you can imagine. Detailed development document and user manual can be found in the Download.
18 Sep 2015 by john morrison leon
observer_ptr, a smart observer guaranteed to always be either valid or test as null. Transparently harnessing unique_ptr's custom deleter feature to detect object destruction.
19 Aug 2015 by Huzifa Terkawi
A good reference for CDockablePane
1 Jul 2015 by Chris La
This article explains 10 rules (steps) for replacing the recursive functions using stack and while-loop to avoid the stack-overflow.
3 Jun 2015 by john morrison leon
An alternative approach in which dialogs are entirely specified as C++ code that requires neither IDE support to be written nor IDE generated resources to be executed. Powered by the C++ type system.
8 May 2015 by Marius Bancila
Learn how to integrate the new Windows Azure machine-learning APIs in a C++ application using C++ REST SDK
6 Apr 2015 by Gary R. Wheeler
A small, easily embedded language for text editing and transformation
31 Mar 2015 by Satish Jagtap
This article explains how to import database to MySQL server and how to export database from MySQL server without using batch files.
23 Mar 2015 by Satish Jagtap
This article explains how to import database to MySQL server and how to export database from MySQL server.
20 Mar 2015 by Michael Haephrati
A C++ client for uploading documents to your Google Docs account
16 Mar 2015 by Rolf Kristensen
A custom draw CListCtrl with subitem editing and formatting
24 Feb 2015 by aljodav
A very easy way to drive PowerShell console application through MFC
9 Feb 2015 by Gjermund Bjaanes
How HEX colors work
27 Jan 2015 by Christian Rodemeyer
A class that provides simple color manipulation in RGB and HLS space
14 Dec 2014 by Marius Bancila
Experiences and recommendations from modernizing legacy C++ code using C++11/14