Perfect!
Thanks Sergey!
+++ Rick ---
>>I've decided I need to implement my own Undo behavior in my textboxes so I need to trap Ctrl-Z in the editbox control.
>>
>>Unfortunately both Ctrl-z and Ctrl-arrow return the same exact key code (26).
>>
>>Does anybody know how else I can check reliably for the right keycode?
>
>Rick,
>
>You can use GetKeyState or GetAsyncKeyState. See
Re: Is there a way to detect a Key being help down? Message #
633669