Steve, You need to trap either the rawKeyDown or rawKeyUp messages which carry with it a parameter for the key pressed. For the numLock key, the # is 65407.
The problem is that you can only tell if the key was pressed, not what the state is of the key. Rev supports getting the state of the caps lock key, but not the numlock key. Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, June 20, 2003 3:59 PM To: [EMAIL PROTECTED] Subject: Detecting the Num lock key in Windows Dear All, Does anyone know how to detect if the Numlock key is On or set the state of the Numlock key in Windows using Rev? I can find commands for the capslock but no mention of numlock. Regards Steve _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
