Description: The menu works and the preparation of the application, the menu command message delivery order in a few classes in MFC framework program and process. Marking menu, default menu principle, graphical menus and analysis of common mistakes, the GetSystemMetrics application, fast and effective range of its command-response function, pop-up menu (with the specified parent window when the pop-up menu relationship, the bottom of the child window has the highest priority processing). The dynamic menu preparation, how to make the new menu items and how to manual for the arrangements for dealing with these new menu command function at run time, how to intercept the menu command in the top-level window handling further grasp the application of the CString class.
To Search:
File list (Check if you may need any files):
Lesson6
.......\Code
.......\....\Menu
.......\....\Menu2
.......\....\.....\MainFrm.cpp
.......\....\.....\MainFrm.h
.......\....\.....\Menu2.aps
.......\....\.....\Menu2.clw
.......\....\.....\Menu2.cpp
.......\....\.....\Menu2.dsp
.......\....\.....\Menu2.dsw
.......\....\.....\Menu2.h
.......\....\.....\Menu2.ncb
.......\....\.....\Menu2.opt
.......\....\.....\Menu2.plg
.......\....\.....\Menu2.rc
.......\....\.....\Menu2Doc.cpp
.......\....\.....\Menu2Doc.h
.......\....\.....\Menu2View.cpp
.......\....\.....\Menu2View.h
.......\....\.....\ReadMe.txt
.......\....\.....\res
.......\....\.....\Resource.h
.......\....\.....\res\Menu2.ico
.......\....\.....\...\Menu2.rc2
.......\....\.....\...\Menu2Doc.ico
.......\....\.....\...\Toolbar.bmp
.......\....\.....\StdAfx.cpp
.......\....\.....\StdAfx.h
.......\....\....\MainFrm.cpp
.......\....\....\MainFrm.h
.......\....\....\Menu.aps
.......\....\....\Menu.clw
.......\....\....\Menu.cpp
.......\....\....\Menu.dsp
.......\....\....\Menu.dsw
.......\....\....\Menu.h
.......\....\....\Menu.ncb
.......\....\....\Menu.opt
.......\....\....\Menu.plg
.......\....\....\Menu.rc
.......\....\....\MenuDoc.cpp
.......\....\....\MenuDoc.h
.......\....\....\MenuView.cpp
.......\....\....\MenuView.h
.......\....\....\ReadMe.txt
.......\....\....\res
.......\....\....\resource.h
.......\....\....\...\bitmap1.bmp
.......\....\....\...\Menu.ico
.......\....\....\...\Menu.rc2
.......\....\....\...\MenuDoc.ico
.......\....\....\...\Toolbar.bmp
.......\....\....\StdAfx.cpp
.......\....\....\StdAfx.h
.......\Video
.......\.....\Lesson6A.html
.......\.....\Lesson6A.swf
.......\.....\Lesson6A_config.xml
.......\.....\Lesson6A_controller.swf
.......\.....\Lesson6B.html
.......\.....\Lesson6B.swf
.......\.....\Lesson6B_config.xml
.......\.....\Lesson6B_controller.swf
.......\.....\Lesson6C.html
.......\.....\Lesson6C.swf
.......\.....\Lesson6C_config.xml
.......\.....\Lesson6C_controller.swf
.......\.....\Lesson6D.html
.......\.....\Lesson6D.swf
.......\.....\Lesson6D_config.xml
.......\.....\Lesson6D_controller.swf
.......\.....\Lesson6E.html
.......\.....\Lesson6E.swf
.......\.....\Lesson6E_config.xml
.......\.....\Lesson6E_controller.swf
.......\.....\Lesson6F.html
.......\.....\Lesson6F.swf
.......\.....\Lesson6F_config.xml
.......\.....\Lesson6F_controller.swf
.......\.....\Lesson6G.html
.......\.....\Lesson6G.swf
.......\.....\Lesson6G_config.xml
.......\.....\Lesson6G_controller.swf
.......\.....\Lesson6H.html
.......\.....\Lesson6H.swf
.......\.....\Lesson6H_config.xml
.......\.....\Lesson6H_controller.swf
.......\.....\Lesson6I.html
.......\.....\Lesson6I.swf
.......\.....\Lesson6I_config.xml
.......\.....\Lesson6I_controller.swf
.......\.....\Lesson6J.html
.......\.....\Lesson6J.swf
.......\.....\Lesson6J_config.xml
.......\.....\Lesson6J_controller.swf
.......\.....\Lesson6K.html
.......\.....\Lesson6K.swf
.......\.....\Lesson6K_config.xml
.......\.....\Lesson6K_controller.swf