Description: Build a MFC-based program, and can operate on the left mouse button click to respond (pop-up message box). In the programming process note the following: (1) the establishment of project types (Win32 Application) and the need to include the header file (afxwin.h) (2) derived from its own application class CWinApp, CFrameWnd derived from their own frame window class (3) Note that the program construction process: starting from the application class object, call the base class constructor, in which the call to InitInstance (), because the virtual function will call itself overloaded InitInstance (), in which we can create window. (4) use the macro in the MFC program for message maps, message handling on the framework of the program. BEGIN_MESSAGE_MAP (..., ...) ...// Message map macros END_MESSAGE_MAP
To Search:
File list (Check if you may need any files):
gd.doc