Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scroll Lock as Keyboard Trigger
#5
I found this in the Help Files under ifk

RealGetKeyState
if you add the 0x100, it will return a 1 or 0 based on status
See below


Code:
Copy      Help
int ScrollLockStatus=RealGetKeyState(VK_SCROLL|0x100)

out ScrollLockStatus

if ScrollLockStatus = 1; out "Scroll Lock On"; else out "Scroll Lock Off"

Thanks for pointing me toward ifk

Stuart


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)