Client Num Lock Key Is Not Turned On by Keybd_event Function

ID: Q187140


The information in this article applies to:
  • Microsoft Windows NT Server version 4.0, Terminal Server Edition


SYMPTOMS

When you run a program that calls the Keybd_event() function and does Keydown and Keyup for Vk_Numlock, the Num Lock key on keyboard is not turned on.


CAUSE

This function works on Microsoft Windows NT-based computers, but not Microsoft Windows 9x-based computers. Windows 9x does not handle the Num Lock key correctly using this function. However the Caps Lock works without any problem.


STATUS

This behavior is by design.

Additional query words:

Keywords :
Version : WinNT:4.0
Platform : winnt
Issue type : kbbug


Last Reviewed: September 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.