Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.10.02;
Скачать: CL | DM;

Вниз

Keyboard   Найти похожие ветки 

 
SMILik ©   (2003-09-18 13:41) [0]

Господа, всем привет !!!
Подскажите плз, почему НЕ РАБОТАЕТ ???

KeyState[vk_numlock]:=1;
SetKeyboardState(KeyState);

??????????????????????????????????????


 
clickmaker ©   (2003-09-18 13:43) [1]

MSDN:

Because the SetKeyboardState function alters the input state of the calling thread and not the global input state of the system, an application cannot use SetKeyboardState to set the num lock, caps lock, or scroll lock indicator lights on the keyboard.


 
clickmaker ©   (2003-09-18 13:46) [2]

keybd_event(VK_NUMLOCK, 0, 0, 0);
keybd_event(VK_NUMLOCK, 0, KEYEVENTF_KEYUP, 0);


 
SMILik ©   (2003-09-18 13:49) [3]

Спасибки... ты б мсдн"ом поделился... а то самому искать и качать....


 
clickmaker ©   (2003-09-18 13:59) [4]

На компашках продается, зачем качать?



Страницы: 1 вся ветка

Текущий архив: 2003.10.02;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.023 c
1-3859
MasterK
2003-09-19 09:25
2003.10.02
Как ограничить тип переменной, т.е. Double->Real?


4-4168
Delphi5.01
2003-07-31 05:42
2003.10.02
Fomra na chistom API


3-3720
Ghost
2003-09-13 10:45
2003.10.02
подскажите что за ошибка An occurred while attempting to


3-3726
dez
2003-09-12 18:01
2003.10.02
Сохранение данных


1-3854
JS
2003-09-18 18:00
2003.10.02
отладка DLL