Introduction - If you have any usage issues, please Google them yourself
Sun xin teacher VC video sixth lesson code: the working principle of the menu and its application, the order and processing of the menu command message in several classes of MFC framework program. Marking menu, default implementation principle, the realization of the graphics menu and often make mistakes analysis, the application of the GetSystemMetrics, quick and popup menu is implemented and command response function effective range (with the pop-up menu when specified by the parent window has a close relationship, the bottom of the child window has the most preferred processing opportunities). Dynamic menu to write, how to make the application at run time to create new menu items and how to produce the manual for these new menu command handler function, how to intercept in the top window's handling of the menu command, further grasp the cstrings application class.
Packet : 71477204lesson6.rar filelist
Code
Code\Menu
Code\Menu\MainFrm.cpp
Code\Menu\MainFrm.h
Code\Menu\Menu.aps
Code\Menu\Menu.clw
Code\Menu\Menu.cpp
Code\Menu\Menu.dsp
Code\Menu\Menu.dsw
Code\Menu\Menu.h
Code\Menu\Menu.ncb
Code\Menu\Menu.opt
Code\Menu\Menu.plg
Code\Menu\Menu.rc
Code\Menu\MenuDoc.cpp
Code\Menu\MenuDoc.h
Code\Menu\MenuView.cpp
Code\Menu\MenuView.h
Code\Menu\ReadMe.txt
Code\Menu\res
Code\Menu\res\bitmap1.bmp
Code\Menu\res\Menu.ico
Code\Menu\res\Menu.rc2
Code\Menu\res\MenuDoc.ico
Code\Menu\res\Toolbar.bmp
Code\Menu\resource.h
Code\Menu\StdAfx.cpp
Code\Menu\StdAfx.h
Code\Menu2
Code\Menu2\MainFrm.cpp
Code\Menu2\MainFrm.h
Code\Menu2\Menu2.aps
Code\Menu2\Menu2.clw
Code\Menu2\Menu2.cpp
Code\Menu2\Menu2.dsp
Code\Menu2\Menu2.dsw
Code\Menu2\Menu2.h
Code\Menu2\Menu2.ncb
Code\Menu2\Menu2.opt
Code\Menu2\Menu2.plg
Code\Menu2\Menu2.rc
Code\Menu2\Menu2Doc.cpp
Code\Menu2\Menu2Doc.h
Code\Menu2\Menu2View.cpp
Code\Menu2\Menu2View.h
Code\Menu2\ReadMe.txt
Code\Menu2\res
Code\Menu2\res\Menu2.ico
Code\Menu2\res\Menu2.rc2
Code\Menu2\res\Menu2Doc.ico
Code\Menu2\res\Toolbar.bmp
Code\Menu2\Resource.h
Code\Menu2\StdAfx.cpp
Code\Menu2\StdAfx.h