Intercepting Key strokes before children control receives them...
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
Re: Intercepting Key strokes before children control receives them...
Try using PreTranslateMessage() to trap the messages. Then check for WM_KEYDOWN. I believe the lParam value is the key that was pressed.
Re: Intercepting Key strokes before children control receives them...
Try subclassing for the tree control.