Jaime Wyant
May 7th, 1999, 09:01 AM
Is there a way to intercept keystrokes before they go to the child controls? I need to update a tree control if F5 is pressed, but am not sure how to "intercept" this keystroke.
Thanks,
Jaime
Thanks,
Jaime
|
Click to See Complete Forum and Search --> : Intercepting Key strokes before children control receives them... Jaime Wyant May 7th, 1999, 09:01 AM Is there a way to intercept keystrokes before they go to the child controls? I need to update a tree control if F5 is pressed, but am not sure how to "intercept" this keystroke. Thanks, Jaime Mike Harnad May 7th, 1999, 03:25 PM Try using PreTranslateMessage() to trap the messages. Then check for WM_KEYDOWN. I believe the lParam value is the key that was pressed. May 7th, 1999, 04:50 PM Try subclassing for the tree control. codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |