Shoutbox

Menu's and the messenger window - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Forum: Plug-Ins (/forumdisplay.php?fid=28)
+------ Thread: Menu's and the messenger window (/showthread.php?tid=35420)

Menu's and the messenger window by Millenium_edition on 12-09-2004 at 02:36 PM

I've got the handle of a menu. I've got the handle of the submenu. OK. Now,  I want to make a popupmenu in my app, with this menu. I use trackpopupmenu. Works fine :)

Now, whenever I set the style of the window with the menu to WS_CHILD, there is no menu anymore (technically). So, the messages to initialize the menu don't arrive, so the window with the menu (in this case the messenger client) won't update its menu, thus making it look horrible.

What can I do to avoid that :( ?

nvm... i got it working (i copied the menu before setting to WM_CHILD)