Page 1 of 1

oWnd:bKeyDown

Posted: Mon Nov 05, 2007 6:43 pm
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

Posted: Mon Nov 05, 2007 6:54 pm
by Otto
I find a solution with:
if GetKeyState( VK_CONTROL )
else
endif