Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.03 c
1-3989
Islander
2003-09-19 17:22
2003.10.02
Оформление кода.


3-3745
LenaC
2003-09-12 12:51
2003.10.02
Проблема с индексами


3-3774
Gorlum
2003-09-10 22:55
2003.10.02
Помогите начать


11-3816
microlab
2003-01-19 20:40
2003.10.02
Работа с ярлыками


1-3967
Romeo
2003-09-20 09:15
2003.10.02
Функция, ожидающая щелчка мыши на форме




   Наверх