안녕하세요.
SetWindowsHookEx( 13{WH_KEYBOARD_LL}, @MyKBHook, HInstance, 0 );
이걸 다른데서 봤는데요. 여기서 13{WH_KEYBOARD_LL} <-- 요게 무슨 뜻인가요?
일반적으루 WH_KEYBOARD <-- 요걸루 쓰지 않나여?
그루 WH_KEYBOARD <-- 요걸루 했을 경우에 어케 wm_keydown, wm_keyup 을 체크하는 방법이 없나요?
위에걸로는 WParam에서 체크 하던데 아래꺼는 LParam에서 체크 해줘야 될거같은데..
LPARAM lParam // keystroke-message information
요로코롬 되있구 값이
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.
이렇게 되어 있던데.. 이걸루 어케 구분해야 하나요 ㅜㅜ
꼭 좀 부탁드립니다.
그럼 좋은 하루 되세요.