Post

 Resources 

Console


RE: Directinput, Mouse-click, No Delay NetArc (2 replies, 0 views) (2000-Aug-12)
-
hmmm you could try this: ( whenever LeftClick is True You have just finished a click, But it only remains true for one update... so next time u call this routine it will become false... this should solver ur mouse problems) globals for ur module or whatever Global LeftClick as Boolean ' A Variable To Store If WE Just Clicked Global LeftButton as Boolean Global Left_Button_Released as Boolean ////// This goes where ur mouse refresh is LeftClick = False ' Reset Our Click To False 'Check the left mouse button state If mdiMState.buttons(0) <> 0 Then If Left_Button_Released = True Then LeftButton = True Left_Button_Released = False End If End If If mdiMState.buttons(0) = 0 Then If LeftButton = True Then LeftClick = True ' Since We Just Released Set Our Click To True LeftButton = False End If Left_Button_Released = True End If


-
Up One Level | Back to Forum

Thanks =) Peter (1 reply) (2000-Aug-12)
RE: Thanks =) NetArc (0 replies) (2000-Aug-12)

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 85 visitors within the last 20 minutes
RSS News Feed