Problems with a trayicon popup menu
-
Hi all! I used the Chris Maunder's Systray code to implement a systray with a popup menu, but i can't figure how to set a subitem checked! I used the SetMenuItemChecked but it failed!! I cant go on with this!! And i can't use Chris' classes with these stuffs too because they are for Mfc projects (mine is not mfc) !! HELP ME PLEASE!!! :(:( ---
-
Hi all! I used the Chris Maunder's Systray code to implement a systray with a popup menu, but i can't figure how to set a subitem checked! I used the SetMenuItemChecked but it failed!! I cant go on with this!! And i can't use Chris' classes with these stuffs too because they are for Mfc projects (mine is not mfc) !! HELP ME PLEASE!!! :(:( ---
You need to handle
UPDATE_COMMAND_UI
for that particular menu item.Jesus Loves:rose:
--Owner Drawn:rose: --Defeat is temporary but surrender is permanent --Jesus is Lord:rose:
-
You need to handle
UPDATE_COMMAND_UI
for that particular menu item.Jesus Loves:rose:
--Owner Drawn:rose: --Defeat is temporary but surrender is permanent --Jesus is Lord:rose:
-
You mean putting ON_UPDATE_COMMAND_UI as a switched case of the main dialog msg? Like this? case WM_INITDIALOG: { .... break; } case ON_UPDATE_COMMAND_UI: { //What to do here?? break; } ---
Now I am confused. I don't know whether
ON_UPDATE_COMMAND_UI
exists inplatform sdk
. But if you are able to solve please tell me. Thanks:-DJesus Loves:rose:
--Owner Drawn:rose: --Defeat is temporary but surrender is permanent --Jesus is Lord:rose: