By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,208 Members | 1,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,208 IT Pros & Developers. It's quick & easy.

Keydown stops KeyPress Event?

P: n/a
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)
Nov 16 '05 #1
Share this Question
Share on Google+
3 Replies

P: n/a
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

Nov 16 '05 #2

P: n/a
Sorry, my mistake. Please ignore this post.
Nov 16 '05 #3

P: n/a
it ok . never mind :-)

Nov 16 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.