本文整理自网络,侵删。
uses Windows;...procedure SetNumLockOn;var KeyState: TKeyBoardState;begin GetKeyboardState(KeyState); if GetKeyState(VK_NUMLOCK) = 0 then begin KeyState[VK_NUMLOCK] := 1; SetKeyboardState(KeyState); end;end;
相关阅读 >>
Delphi 资源文件管理 resources and images
更多相关阅读请进入《Delphi》频道 >>