Right-click menu on the tray problem ?

Category: VC/MFC -> UI Author: tysheng Date: 2010-04-11 10:16:57
 
tysheng
2010-04-11 10:16:57
If you want to add a check menu in the tray context menu how to do that ? Thank ~~~
duanyutt
2010-04-11 10:31:40
and the general menu also like to add to the menu ID ON_UPDATE_COMMAND_UI news ,
add code in the message handler in : pCmdUI- > SetCheck (m_bCheck);
chj2006ren
2010-04-11 10:44:23
you mean is not     above in an options menu   emergence of a sub-menu ? ?

such as your main menu is
family farm
company

then put the mouse on   " family" when the above   will be   a sub-menu ? ?

If words   You can create a menu when the   added ah       do not know how you create the       I was in the     resources which create the menus   then directly in the     behind the "family" together with the required sub-menu can be a
keleyinger
2010-04-11 10:50:48
solve the problem, although I was Cmenu   menu;   menu.AppendMenu (MF_CHECKED, IDM_START_SELF, _T (" ***** ")); solve, but still grateful to two answer, thank you ~~