How to trap SHIFT+KEY

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
lmorales
Chile
Posts: 115
Joined: 31 Aug 2018, 17:05
Location: Santiago Chile

How to trap SHIFT+KEY

Post by lmorales » 16 Oct 2006, 16:11

 Posted by:  Leonardo Morales V. 

Hi,
anybody can help me please-
i need to trap SHIFT + KEY
thanks

arvindram11
United States of America
Posts: 555
Joined: 14 Apr 2019, 23:42
Location: Richmond, VA

Re: How to trap SHIFT+KEY

Post by arvindram11 » 16 Oct 2006, 20:09

 Posted by:  Aravind Ram 

On WM_KEYUP
If VisGetKeyState( VK_Shift) & KS_Down
Shift was pressed
Else
Shift is not pressed

wParam has the key being pressed along with the shift key (for ex: Shift
+ Del)

Aravind

lmorales
Chile
Posts: 115
Joined: 31 Aug 2018, 17:05
Location: Santiago Chile

Re: How to trap SHIFT+KEY

Post by lmorales » 16 Oct 2006, 20:28

 Posted by:  Leonardo Morales V. 

thanks Aravind.

Leonardo.

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests