WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-07-2011, 05:12 PM
Zhi Zhi is offline
Member
 
Join Date: Mar 2011
Posts: 49
Mouse event: how to detect no mouse move event, how to set mouse position?

Hi,

I am writing a program, which detects the mouse movement event and does certain stuff. However, when the mouse stops moving, I need to reset a variable. Is there an event that I can use to do this?

If there is no way to detect the non-movement event, a way around is to check the mouse position change periodically. However, when the mouse moves to the edge of the window or screen, its position value will be fixed. Is there any way to reset the mouse position? I see the viz.mouse.getposition(). Is there something like viz.mouse.setposition() that I can use?

Thanks,
Zhi
Reply With Quote
 

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:59 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC