Главная страница
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.035 c
14-4105
Knight
2003-09-13 21:06
2003.10.02
& n b s p ; и другие...


1-3835
Sunny
2003-09-19 13:39
2003.10.02
COM + потоки


1-3885
Artur
2003-09-20 15:08
2003.10.02
Компонент F1Book


3-3729
Владимир
2003-09-12 20:51
2003.10.02
Первичный ключ


3-3704
Voland777
2003-09-15 10:22
2003.10.02
В переменную не запихнуть значение