Keydown stops KeyPress Event?

  • Thread starter Thread starter Keith Smith
  • Start date Start date
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)
 
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
 
Back
Top