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)