Professional UI Solutions
Site Map   /  Register


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 Tech Support » keyboard handling Collapse All
Subject Author Date
Courtney Smith Sep 16, 2009 - 7:50 AM

Currently we have an application with 2 main windows. We have a client that wants window 2 to handle a key press when window 1 has focus.

Can a keyboard handler be created that can intercept keys app-wide?



Technical Support Sep 17, 2009 - 3:02 AM

We think you should add a keyboard accelerator for the key combination which should be handled in the second background window. The OnCmdMsg() virtual method of the first focused window should invoke the OnCmdMsg() virtual method of the second background window when the command identifier is a background executed command identifier.