Catching Key Event of an Edit Box
-
Hi everyone, I've been digging up for a way to handle key presses (specifically CTRL+A KeyDown) for the EditBox in the ComboBoxEx in my IE toolbar and have failed everytime. I tried to handle the
WM_KEYDOWN
events but I just couldn't. The ComboBox won't fire any event and I want to select all the text within the EditBox when user presses CTRL+A. There must surely be a way but what could that be? -
Hi everyone, I've been digging up for a way to handle key presses (specifically CTRL+A KeyDown) for the EditBox in the ComboBoxEx in my IE toolbar and have failed everytime. I tried to handle the
WM_KEYDOWN
events but I just couldn't. The ComboBox won't fire any event and I want to select all the text within the EditBox when user presses CTRL+A. There must surely be a way but what could that be? -
Maybe this article[^] will help
led mike
I checked out the article but there's something I just can't catch: The
ComboBoxEx
does not recieve anyWM_KEYDOWN
events from theEditBox
within. I used Spy++ to see that the event doesn't even get past theComboBox
control inside the ComboBoxEx. So, how can I catch theWM_KEYDOWN
event when I can't catch it on the parent? -
I checked out the article but there's something I just can't catch: The
ComboBoxEx
does not recieve anyWM_KEYDOWN
events from theEditBox
within. I used Spy++ to see that the event doesn't even get past theComboBox
control inside the ComboBoxEx. So, how can I catch theWM_KEYDOWN
event when I can't catch it on the parent?