Aug 28, 2006 #1 pkailas Programmer Jun 10, 2002 555 US I know that I can detect a single key upon pressing such as "vbKeyControl" and "vbKeyN", but how can I detect if "CTRL-N" has been pressed? Thanks in advance, Paul _______ I love small animals, especially with a good brown gravy....
I know that I can detect a single key upon pressing such as "vbKeyControl" and "vbKeyN", but how can I detect if "CTRL-N" has been pressed? Thanks in advance, Paul _______ I love small animals, especially with a good brown gravy....
Aug 28, 2006 #2 Ed2020 Programmer Nov 12, 2001 1,899 GB Managing Low-Level Keyboard Hooks with the Windows API: http://www.codeguru.com/vb/gen/vb_system/keyboard/print.php/c4829/#more HTH, Ed Metcalfe Please do not feed the trolls..... Upvote 0 Downvote
Managing Low-Level Keyboard Hooks with the Windows API: http://www.codeguru.com/vb/gen/vb_system/keyboard/print.php/c4829/#more HTH, Ed Metcalfe Please do not feed the trolls.....
Aug 28, 2006 #3 genomon Programmer Aug 20, 2001 2,449 US May be able to trap a keypress event using vbKeyControl + vbKeyN (never tried using combos like that before)? I have great faith in fools; self-confidence my friends call it. -Poe Upvote 0 Downvote
May be able to trap a keypress event using vbKeyControl + vbKeyN (never tried using combos like that before)? I have great faith in fools; self-confidence my friends call it. -Poe
Aug 28, 2006 #4 firefytr Technical User May 18, 2004 1,130 US Take a look at the GetKeyState API call. Here is an example: http://www.informit.com/articles/article.asp?p=366892&seqNum=4&rl=1 HTH Regards, Zack Barresse Simplicity is the ultimate sophistication. What is a MS MVP? PODA - Leonardo da Vinci Upvote 0 Downvote
Take a look at the GetKeyState API call. Here is an example: http://www.informit.com/articles/article.asp?p=366892&seqNum=4&rl=1 HTH Regards, Zack Barresse Simplicity is the ultimate sophistication. What is a MS MVP? PODA - Leonardo da Vinci