I am having one heck of a time trying to trap the Delete key from an ultracombo...I have been playing with both the KeyDown and PreviewKeyDown events and I've had great success with all other keys, including stubborn ones like Tab and the arrow keys, even Backspace, but I just can't trap Delete.
I've tried the GetAsyncKeyState function from the User32 Lib (recommended by numerous dev forums for regular MS controls) with no luck...
Anyone have any ideas?Thanks!
The KeyDown event works fine for me.
Just came back to this issue... I must not have been paying attention... I had the Delete key as a toolbar item shortcut and that's why I couldn't trap it!
Sorry for wasting your time MikeThanks!