Knowledge Base

Client Num Lock Key Is Not Turned On by Keybd_event Function

Article ID: 187140

Article Last Modified on 11/1/2006


APPLIES TO


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.

Keywords: kbbug kbnofix KB187140