Mindo
asked on
ActiveX control keyboard messages
I'm writing a button ActiveX control. Is there a way to receive keyboard messages when my control isn't in the focused state? For example, to get the WM_KEYDOWN message when my ActiveX control isn't in user focus.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I guess you have to do that in the container. When you design with standard button controls, you assign them IDs and accelerator handles the keyboard-to-button mapping.
ASKER
By the way, i can get the mouse events when my control isn't in focus. I use the SetCapture() and ReleaseCapture() functions.
Thanks.