Set Key ( Solved )

Set Key ( Solved )

Postby lailton.webmaster » Fri Sep 25, 2009 6:56 am

How set key SHIFT + ( button right of mouse )

?
Last edited by lailton.webmaster on Fri Sep 25, 2009 8:35 am, edited 1 time in total.
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: Set Key

Postby mmercado » Fri Sep 25, 2009 7:45 am

Hello Lailton:
lailton.webmaster wrote:How set key SHIFT + ( button right of mouse )

I think is somethig like this:

SetKey( VK_RBUTTON, { || If( GetKeyState( VK_SHIFT ), YourAction(), Nil ) } )

Regards.

Manuel Mercado Gomez.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: Set Key

Postby lailton.webmaster » Fri Sep 25, 2009 8:15 am

to use setkey i need add in
before of define window
or later ?

because no work this to me :(
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm

Re: Set Key

Postby lailton.webmaster » Fri Sep 25, 2009 8:31 am

Only Set Key no work to me
more i solved using this.

oWnd:bRClicked := {|| iif( GetKeyState( VK_SHIFT ),MyFunc(), )}

Thanks Manuel.
lailton.webmaster
 
Posts: 603
Joined: Sun May 04, 2008 8:44 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 93 guests