Partager via


MFC Getting started

Prerequisites

Prerequisites for Learning MFC https://msdn.microsoft.com/en-us/library/e4y1ezf5.aspx

Among the important assumptions made by the MFC documentation are that:

· You already know a little about programming for Windows.

· You know the basics of programming in C++.

· You understand the fundamentals of object-oriented programming.

Introduction

MFC is a SDK interface (wrapper) only, consisting in a set of classes that act as wrappers around the Win32 API, so that C++ programmers may program Windows using some concepts of the object-oriented programming (OOP) paradigm and the C++ language (the Win32 API is based on C). One should learn the Win32 API or at least have some ideas since some of the SDK functions are absent form the MFC and remember would help you better to understand the MFC. https://en.wikipedia.org/wiki/Microsoft_Foundation_Class_Library https://en.wikibooks.org/wiki/Windows_Programming/Introduction_to_MFC

Overview

Key MFC Programming Areas https://msdn.microsoft.com/en-us/library/cys3kd51.aspx

Hierarchy Chart https://msdn.microsoft.com/en-us/library/ws8s10w4.aspx

Creating an MFC Application https://msdn.microsoft.com/en-us/library/9es9d1k4.aspx

Creating an MFC DLL Project https://msdn.microsoft.com/en-us/library/wd5f0z40.aspx

Creating an MFC ActiveX Control https://msdn.microsoft.com/en-us/library/yc13as7d.aspx

Walkthroughs (MFC Feature Pack) https://msdn.microsoft.com/en-us/library/bb982451(VS.90).aspx

How do I videos

MFC Classes: https://msdn.microsoft.com/en-us/visualc/bb496952.aspx#mfcclasses

MFC Feature Pack https://msdn.microsoft.com/en-us/visualc/bb496952.aspx#mfcfeaturepack

MFC Samples

MSDN Samples: https://msdn.microsoft.com/en-us/library/482ck6x8.aspx

FunctionX samples: https://www.functionx.com/visualc/index.htm

FAQ

THE MFC FAQ version 1.3 https://ai.kaist.ac.kr/~ymkim/Program/mfc_faq.html

MSDN MVP: https://vcfaq.mvps.org/mfc/index.htm

Walkthrough

Walkthroughs (MFC) https://msdn.microsoft.com/en-us/library/bb982451.aspx

Forum

Visual C++ https://social.msdn.microsoft.com/Forums/en-US/category/visualc

VS 2010 New Feature

MFC Restart Manager Support in VS2010 https://blogs.msdn.com/vcblog/archive/2009/02/18/mfc-restart-manager.aspx

MFC applications now default to being DPI-aware https://blogs.msdn.com/vcblog/archive/2010/03/11/mfc-applications-now-default-to-being-dpi-aware.aspx

CTaskDialog: an alternative to the simple message box! https://blogs.msdn.com/vcblog/archive/2008/12/04/ctaskdialog-an-alternative-to-the-simple-message-box.aspx