Keydown stops KeyPress Event?

K

Keith Smith

Whenever a Keydown EventHandler is processed the computer never continues on
to process the KeyPress EventHandler. Is there a way to stop this?

My goal is to be able to detect these keys from the same control...
Shift-A (can only be detected by KeyPress)
DEL (can only be detected by KeyDown)
INSERT (can only be detected by KeyDown)
 
M

Mohamoss

Hi
i don't exactly see what the problem is . would you explain more . What i
can tell you it that you need to write handles for both the keyPress and
keyDown of the control on the keypress (check for shift-A if ok execute
your logic) . as for down you need to check for either DEl or INSERT then
execute the according logic . is your problem beyond that however , would
you explain what happens or post snippet of your code
Mohamed M .Mahfouz
Developer Support Engineer
ITWorx on behalf of Microsoft EMEA GTSC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top