
Dialog Based & Menu Update :: MFC
Hi.
I have two questions about menu in a dialog based
application.
First, how do you add an on command for menu items in a
dialog based app? In other words, without ON_COMMAND how
do you add an event handle for menu item?
Second, I saw two solutions for updating, i.e. enable or
disable, menu items in a dialog based app.
1) CMenu *pMenu = GetMenu(0)
This solutions is exactly like updating contextmenu. Am I
correct? Do you have to call function to redraw the menu?
2) Add an event handle for WM_KICKIDLE
http://www.*-*-*.com/
I would like to know the preferred solution for updating
menu items in a dialog based app.
Thanks,
Kuphryn