01-25-2008, 11:53 PM
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
Thanks for pointing me toward ifk
Stuart
RealGetKeyState
if you add the 0x100, it will return a 1 or 0 based on status
See below
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
