oWnd:bKeyDown

oWnd:bKeyDown

Postby Otto » Mon Nov 05, 2007 6:43 pm

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: 6327
Joined: Fri Oct 07, 2005 7:07 pm

Postby Otto » Mon Nov 05, 2007 6:54 pm

I find a solution with:
if GetKeyState( VK_CONTROL )
else
endif
User avatar
Otto
 
Posts: 6327
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests