Hi there.
Is there any possibility of retreiving the menu handle of the parent menu of a submenu? Will i have to search for an item with the hSubMenu member of the MENUITEMINFO structure being equal to the menu handle of the submenu from the topmost menu on, or is there an easy possibility like GetSubMenu only for a parent menu?
Posted on 2002-01-18 08:45:29 by darester
Check out WM_INITMENUPOPUP. You can track the activation of popup menus with it. You could store the prior handle in a var. I tried it and it worked but I didn't have time to test it extensively.
Posted on 2002-01-18 11:44:54 by rdaneel
thanks a lot! it works just fine!
Posted on 2002-01-19 06:55:26 by darester