Tenouk - A complete C++ and Microsoft Foundation Class, MFC, Windows GUI programming resources

The Tenouk's C++ and MFC programming tutorialsPart 1. Train and master yourself the Windows Graphic User Interface, GUIs, controls, forms, system and etc. using MFC C++ library. See how C++ features and functionalities used in real applications and software development







C/C++ Standards


Using C/C++ Compilers


C/C++ Tutorial


C and Win32 Tutorial


C and Winsock2 Tutorial


C, Winsock 2 and IPv6 Tutorial


C and Linux Socket Tutorial


C++ and Object Oriented Tutorial


C and C++ Standard Library Online Documentation


C/C++ and Buffer Overflow


C++ and Standard Template Library (STL)


C++ and Microsoft Foundation Class (MFC)


C++ and Microsoft Foundation Class (MFC) - Advanced Topics


C++, Winsock, WinInet and MFC


::Visual C++ .NET 2003/2005 Express/Visual Studio::


C and Linux Programming - advanced




All the previous tutorials just using the console mode application, there is no graphic programming mainly for User Interface (UI). Microsoft Foundation Class, MFC is a C++ library used to program Windows user interface and other things that can be done using Win32.

Although Tenouk doesn't like it, it is presented in order to see how C++ classes used in the real world applications. As said in C++ and object oriented tutorial, most of the time, no need for us to create new classes. There are many other class libraries such as for mathematical operations, engineering, graphics such as Computer Aided Design (CAD), CAE, game programming, data mining etc. provided by third parties or developed

C Programming In A Few Days!


C & C++ Libraries, Toolkits, APIs, Components etc.


Use Your C/C++ Skills in The C/C++ Challenge


C Code Listing ~ 340 C code samples


C++ Code Listing ~ 500 C++ code Samples


C & Linux Device Driver (ext)


Java programming resources and its' open source friends



C & C++ CERT Secure Coding Standard


The MFC Programming Index


.NET WinForm & Controls Using C++ .NET (C++/CLI)


C and C++ Code Sample Index


Search C & C++ Source Codes, Programs





in-house. You may want  to read what wiki says about MFC. This MFC tutorial actually is the "Programming Microsoft Visual C++, Fifth Edition" by David J. Kruglinski, George Shepherd and Scott Wingo. All credit should go to them. However this tutorial has refined all the programming steps for the project examples in more detail with hundreds of screen shots. The MFC used is 6.0 compiled using Visual C++ 6.0 with related Service Packs and currently together with Visual C++ .Net, we have version 7.0. For newbie that just want to learn Graphic User Interface or GUI programming for Windows he/she should directly use the .NET 2005 (ver 8.0 and above) with a lot more and better class libraries. Furthermore MFC seems to be updated and are there any Windows applications still using the MFC? Or Microsoft slowly migrating to Window Presentation Foundation (WPF). For X Window/Motif - Linux/Unix GUI programming you can get some of the best GUI environment. Never mind, the most important thing here is to learn how object oriented principles applied miraculously!


C++ and Microsoft Foundation Class (MFC) For Windows GUIs Topics


All the links will be opened in new window.  When in the tutorial page, use the top and bottom navigation to browse all the topics. The steps for the program examples have been refined to the detail with screen snapshots, making it totally for dummies.

  1. Module 1 - Introduction to Windows GUI: Part 1, Part 2.

  2. Module 2 - Visual C++, Windows & MFC: Part 1, Part 2.

  3. Module 3 - Basic Event Handling, Mapping Modes, and a Scrolling View: Part 1,Part 2, Part 3.

  4. Module 4 - Graphics Device Interface, Colors, and Fonts: Part 1, Part 2, Part 3.

  5. Module 5 - The Modal Dialog and Windows Common Controls: Part 1, Part 2, Part 3, Part 4, Part 5.

  6. Module 6 - The Modeless Dialog and Windows Common Dialogs: Part 1, Part 2.

  7. Module 7 - Menus, Keyboard Accelerators, the Rich Edit Control: Part 1, Part 2.

  8. Module 7a - Property Sheets: Part 1, Part 2.

  9. Module 8 - Toolbars and Status Bars: Part 1, Part 2, Part 3.

  10. Module 9 - A Reusable Frame Window Base Class: Part 1, Part 2.

  11. Module 10 - Separating the Document from Its View: Part 1, Part 2, Part 3, Part 4, Part 5.

  12. Module 11 - Reading and Writing Documents—SDI Applications: Part 1, Part 2, Part 3, Part 4, Part 5.

  13. Module 12 - Reading and Writing Documents—MDI Applications: Part 1, Part 2, Part 3, Part 4.

  14. Module 13 - Printing and Print Preview: Part 1, Part 2.

  15. Module 14 - Splitter Windows and Multiple Views: Part 1, Part 2, Part 3, Part 4.

  16. Module 15 - Context-Sensitive Help: Part 1, Part 2, Part 3.

  17. Module 16 - Dynamic Link Libraries: Part 1, Part 2, Part 3, Part 4.

  18. Module 17 - MFC Programs Without Document or View Classes.

  19. Module 18 - Using ActiveX Controls: Part 1, Part 2.

  20. Module 19 - Internet Explorer 4 Common Controls: Part 1, Part 2.

  21. Module 20 - Win32 Memory Management.

  22. Module 21 - Bitmaps: Part 1, Part 2, Part 3, Part 4, Part 5.

  23. Module 22 - Windows Message Processing and Multithreaded Programming: Part 1, Part 2.

  24. C++ and MFC Books
  25. Visual C++ .NET Windows Form programming can be found atvisualcplusdotnet.com


  1. The Windows Template Library (WTL) - C++ library for developing Windows applications and UI components.
  2. The Win32++ - C++ library used to build windows applications which running on a wide range of free compilers, including Visual Studio Express and Dev-C++.
  3. Object Windows Library (OWLNext) is a modern update and extension of Borland's Object Windows Library for writing GUI applications in standard C++ on Microsoft Windows.
  4. List of Platform Independent GUI libraries - A list of packages implementing a platform-independent GUI (PIGUI). These can be used to develop software that can be ported to multiple platforms without changes to its source code.

Custom Search


Best viewed using IE 4.0/FireFox/Chrome and above but if your eyes can view the pages, that is the best resolution.

Broken link? Respond to Webmaster: [C++ & MFC Programming]

Copyright 2003 - 2018 © Tenouk. All rights reserved.


Hosting services provided by: Unmetered Linux & Windows VPS from $18.95/month

Translate, email to friends and share: