Description: The menu works and the preparation of the application, the menu command message delivery order and process in the MFC framework program several classes. Marking menu default menu implementation principle, graphics menu and often make mistakes analysis the GetSystemMetrics application shortcut pop-up menu, the way to achieve their command response function of the effective range (specified in the pop-up menu in the parent window close the relationship between the bottom of the sub-window having the highest priority processing opportunities). Dynamic menu preparation, how to make the program at runtime to generate a new menu item and how to manually command arrangements for dealing with these new menu generated function, intercepted in the top-level window menu command, further mastered CString class.
To Search:
File list (Check if you may need any files):
LESSON6\Menu\Debug\MainFrm.obj
.......\....\.....\Menu.exe
.......\....\.....\Menu.ilk
.......\....\.....\Menu.obj
.......\....\.....\Menu.pch
.......\....\.....\Menu.pdb
.......\....\.....\Menu.res
.......\....\.....\MenuDoc.obj
.......\....\.....\MenuView.obj
.......\....\.....\StdAfx.obj
.......\....\.....\vc60.idb
.......\....\.....\vc60.pdb
.......\....\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\bitmap1.bmp
.......\....\...\bitmap2.bmp
.......\....\...\Menu.ico
.......\....\...\Menu.rc2
.......\....\...\MenuDoc.ico
.......\....\...\Toolbar.bmp
.......\....\Resource.h
.......\....\StdAfx.cpp
.......\....\StdAfx.h
.......\....1\Debug\MainFrm.obj
.......\.....\.....\Menu1.exe
.......\.....\.....\Menu1.ilk
.......\.....\.....\Menu1.obj
.......\.....\.....\Menu1.pch
.......\.....\.....\Menu1.pdb
.......\.....\.....\Menu1.res
.......\.....\.....\Menu1Doc.obj
.......\.....\.....\Menu1View.obj
.......\.....\.....\StdAfx.obj
.......\.....\.....\vc60.idb
.......\.....\.....\vc60.pdb
.......\.....\MainFrm.cpp
.......\.....\MainFrm.h
.......\.....\Menu1.aps
.......\.....\Menu1.clw
.......\.....\Menu1.cpp
.......\.....\Menu1.dsp
.......\.....\Menu1.dsw
.......\.....\Menu1.h
.......\.....\Menu1.ncb
.......\.....\Menu1.opt
.......\.....\Menu1.plg
.......\.....\Menu1.rc
.......\.....\Menu1Doc.cpp
.......\.....\Menu1Doc.h
.......\.....\Menu1View.cpp
.......\.....\Menu1View.h
.......\.....\ReadMe.txt
.......\.....\res\Menu1.ico
.......\.....\...\Menu1.rc2
.......\.....\...\Menu1Doc.ico
.......\.....\...\Toolbar.bmp
.......\.....\Resource.h
.......\.....\StdAfx.cpp
.......\.....\StdAfx.h
.......\....2\Debug\MainFrm.obj
.......\.....\.....\Menu2.exe
.......\.....\.....\Menu2.ilk
.......\.....\.....\Menu2.obj
.......\.....\.....\Menu2.pch
.......\.....\.....\Menu2.pdb
.......\.....\.....\Menu2.res
.......\.....\.....\Menu2Doc.obj
.......\.....\.....\Menu2View.obj
.......\.....\.....\StdAfx.obj
.......\.....\.....\vc60.idb
.......\.....\.....\vc60.pdb
.......\.....\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