Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How to get ALT key up message after activating profui main menu Collapse All
Subject Author Date
Robert Bakva Dec 21, 2015 - 5:33 PM

Problem:
Pressing ALT + key that activates profui main menu, my keyboard hook doesn’t receive the ALT key up message.
I want to receive the ALT key up message, so I can accurately keep track of the virtual state of the ALT key.

How can I do this?

I am using Visual Studio 2013 and ProfUI 3.01. The app is MFC MDI, using ProfUI based Main Frame and Main Menu.

I have already tried adding CExtHookSpy to CMainFrame and overriding OnHookSpyKeyMsg, it receives the ALT key down message when the main menu is activated, but it never receives the corresponding ALT key up message.