Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2003.12.23;
Скачать: [xml.tar.bz2];

Вниз

Ау ,ну помогите же кто-нибудь по зарез нужно!   Найти похожие ветки 

 
DENIS_PY   (2003-12-11 10:38) [0]

как когда ставишь ловушку setwindowshookex
по параметрам wparam и lparam узнать какая клавиша нажата отпущена она или нет


 
Digitman   (2003-12-11 10:44) [1]

вот же описание в хэлпе ! что здесь непонятного ?

wParam

Specifies the virtual-key code of the key that generated the keystroke message.

lParam

Specifies the repeat count, scan code, extended-key flag, context code, previous key-state flag, and transition-state flag. This parameter can be a combination of the following values:

Value Description
0-15 Specifies the repeat count. The value is the number of times the keystroke is repeated as a result of the user"s holding down the key.
16-23 Specifies the scan code. The value depends on the original equipment manufacturer (OEM).
24 Specifies whether the key is an extended key, such as a function key or a key on the numeric keypad. The value is 1 if the key is an extended key; otherwise, it is 0.
25-28 Reserved.
29 Specifies the context code. The value is 1 if the ALT key is down; otherwise, it is 0.
30 Specifies the previous key state. The value is 1 if the key is down before the message is sent; it is 0 if the key is up.
31 Specifies the transition state. The value is 0 if the key is being pressed and 1 if it is being released.


 
DENIS_PY   (2003-12-11 10:47) [2]

а как этим пользоваться?
неполучаеться у меня
пожалуста помогите



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

Форум: "Основная";
Текущий архив: 2003.12.23;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.44 MB
Время: 0.008 c
14-75389
Comp
2003-11-28 15:17
2003.12.23
Защита программы законом


1-75174
Barsky
2003-12-11 12:17
2003.12.23
Как узнать размер файла?


3-75108
pashaz
2003-11-26 23:45
2003.12.23
Запись в базу...


1-75225
Sharker
2003-12-10 20:05
2003.12.23
Почему уменьшается размер клиентской области MDI окна?


3-75106
Vemer
2003-11-28 18:19
2003.12.23
Подключение к IBase по сети.





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский