Sadly enough i have currently a misused menuitem id's of 1 and 2
Pressing esc or enter invokes these menus.
Can i detect if this is a keystroke or not?
The wparam and lparam values remain equal in this case.
Even worse, the window where this happens is modeless and shares the messagepump of another (main) window.
So no routing of the accelerator.
I see no alternative than to rewrite the menuid id's.
(Which is bit problematic in this case)
Pressing esc or enter invokes these menus.
Can i detect if this is a keystroke or not?
The wparam and lparam values remain equal in this case.
Even worse, the window where this happens is modeless and shares the messagepump of another (main) window.
So no routing of the accelerator.
I see no alternative than to rewrite the menuid id's.
(Which is bit problematic in this case)
Comment