[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  GetKeyState( nKey )-> <lPressed>
------------------------------------------------------------------------------


 PARAMETER:

  <nKey> is the code of the key that we want to examine. If the requested
         virtual key is a letter or digit (A - Z, a - z, or 0 - 9), <vkey>
         must be set to the ASCII value of that character. For other keys,
         it must be a virtual-key code. 


 RETURNS:

  <lPressed> specifies if the given virtual key is pressed or not



 DESCRIPTION:

  The GetKeyState function retrieves the state of the specified virtual key.
  The state specifies whether the key is up or down.
  An application calls the GetKeyState function in response to a keyboard
  input message. This function retrieves the state of the key at the time
  the input message was generated. 

 SOURCE:

  SOURCE\WINAPI\KEYBRD.C



See Also: GetAsyncKeyState GetKeyToggle
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson