2009/03/04
Num Lock, Caps Lock, Scroll Lock 상태 알아내기
bool bScrollLock = (bool)( ::GetKeyState(VK_SCROLL) > 0 );
bool bNumLock = (bool)( ::GetKeyState(VK_NUMLOCK) > 0 );
bool bCapsLock = (bool)( ::GetKeyState(VK_CAPITAL) > 0 );
Original Post : http://neodreamer-dev.tistory.com/263
Labels:
C++
,
GetKeyState
,
TistoryOldPost
,
VK_CAPITAL
,
VK_NUMLOCK
,
VK_SCROLL
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment