Главная страница
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.015 c
1-3817
Rif
2003-09-17 15:03
2003.10.02
как отправить письмо незаметно


3-3771
Владимир
2003-09-11 13:53
2003.10.02
Pack в TClientDataSet


1-3944
Николай
2003-09-21 09:23
2003.10.02
схожу с ума...


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


3-3715
Vadim
2003-09-13 19:29
2003.10.02
Что вместо BDE?