Shell_NotifyIcon problem =>
-
GetMenu always fails when i try to get the menu of my taskbar icon. CMenu* menu = GetMenu(); if(menu == NULL) // always 0x00000000 return 0; any ideas what to do ? how can i work with menu items ? thanx:rose:
I bet you didn't create your window with a menu. Thus trying to get the menu fails. Just use LoadMenu to get the menu you wish to display from your resource file. Don't forget to get one of the sub menus. Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?