From: wilan01@ingres.com@ WinSetKeyboardStateTable (HWND_DESKTOP, abKeyState, FALSE); abKeyState[VK_NUMLOCK] |= 1; WinSetKeyboardStateTable (HWND_DESKTOP, abKeyState, TRUE);