Re: hMenu of a PopUp menu
Hi Juergen,
> How can I get the menu handle of a PopUp menu?
It's different for different controls - in most cases it'll include
subclassing, catching msg like WM_INITMENUPOPUP or
WM_CONTEXTMENU, and reading wParam...
Bruno
Re: hMenu of a PopUp menu
Hi Bruno,
> It's different for different controls - in most cases it'll include
> subclassing, catching msg like WM_INITMENUPOPUP or
> WM_CONTEXTMENU, and reading wParam...
you're right - I got it hooking WM_INITMENUPOPUP. The
WM_CONTEXTMENU does not deliver the menu handle.
Juergen.