<HTML><FONT FACE=arial,helvetica><FONT  SIZE=2 FAMILY="SANSSERIF" FACE="Arial" LANG="0">Thanks for the explanantion Ken.<BR>
<BR>
Shame about this as the Numlock state can be quite important for laptop apps. Maybe the RunRev guys may like to think about it.<BR>
<BR>
In the meantime, I think I'll just go for an answer box and let the user check!<BR>
<BR>
Thanks for the help.<BR>
<BR>
Steve<BR>
<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE style="BORDER-LEFT: #0000ff 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px">From: "Ken Ray" <kray@sonsothunder.com><BR>
To: <use-revolution@lists.runrev.com><BR>
Subject: RE: Detecting the Num lock key in Windows<BR>
Date: Fri, 20 Jun 2003 16:34:44 -0500<BR>
Organization: Sons of Thunder Software<BR>
Reply-To: use-revolution@lists.runrev.com<BR>
<BR>
Steve,<BR>
<BR>
You need to trap either the rawKeyDown or rawKeyUp messages which carry<BR>
with it a parameter for the key pressed. For the numLock key, the # is<BR>
65407.<BR>
<BR>
The problem is that you can only tell if the key was pressed, not what<BR>
the state is of the key. Rev supports getting the state of the caps lock<BR>
key, but not the numlock key.<BR>
<BR>
Ken Ray<BR>
Sons of Thunder Software<BR>
Email: kray@sonsothunder.com<BR>
Web Site: http://www.sonsothunder.com/ <BR>
<BR>
-----Original Message-----<BR>
From: use-revolution-admin@lists.runrev.com<BR>
[mailto:use-revolution-admin@lists.runrev.com] On Behalf Of<BR>
STKing42@aol.com<BR>
Sent: Friday, June 20, 2003 3:59 PM<BR>
To: use-revolution@lists.runrev.com<BR>
Subject: Detecting the Num lock key in Windows<BR>
<BR>
<BR>
Dear All,<BR>
<BR>
Does anyone know how to detect if the Numlock key is On or set the state<BR>
of the Numlock key in Windows using Rev? <BR>
I can find commands for the capslock but no mention of numlock.<BR>
<BR>
Regards<BR>
Steve<BR>
</BLOCKQUOTE><BR>
<BR>
</FONT></HTML>