oWnd:bKeyDown

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

oWnd:bKeyDown

Post by Otto »

I would like to find out if the control key is press.
I tried like that but it doesn't work:
Thanks in advance,
Otto

oWnd:bLClicked := { |y,x,flags | test() }

func test
if oWnd:bKeyDown() = VK_CONTROL

else

endif
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

I find a solution with:
if GetKeyState( VK_CONTROL )
else
endif
Post Reply