View Single Post
  #7   Spotlight this post!  
Unread 15-12-2009, 14:49
Qbranch Qbranch is offline
wow college goes fast.
AKA: Alex
FRC #1024 (Kil-A-Bytes)
Team Role: Alumni
 
Join Date: Apr 2006
Rookie Year: 2006
Location: Indianapolis
Posts: 1,174
Qbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond reputeQbranch has a reputation beyond repute
Re: Mouse pointer and dual monitors

sanddrag,

I don't know of one you can find online, but if you have any experience with any of the .NET languages (VB.NET, C#, etc.) you should be able to write a short program to do this for you.

The System.Drawing.Point that holds the mouse pointer position on the screen can be found at System.Windows.Forms.Cursor.Current.Position. Let me know if you need more info on this part.

From there, I would think sampling the cursor position on a fixed interval should be good enough to do the cursor trap on screen 1 and to watch for the 'screen side tap' gesture.

Hope that helps... have fun!

-q


p.s. Note that System.Windows.Forms.Cursor.Current returns the cursor which is currently the system mouse pointer... if you want, this means you may be able to have more than one cursor on the screen at a given time, then have your program switch between them based on some input... might be a fun project sometime
__________________
Electrical Engineer Illini
1024 | Programmer '06, '07, '08 | Driver '08