Client Num Lock Key Is Not Turned On by Keybd_event Function (187140)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0 Terminal Server Edition

This article was previously published under Q187140

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.

Modification Type:MajorLast Reviewed:6/24/2004
Keywords:kbbug kbnofix KB187140