home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 10,622 of 10,840   
   mike to All   
   Track Mouse Movement when the cursor is    
   09 Aug 08 01:12:39   
   
   From: spamme9@gmail.com   
      
   I have the opportunity to rescue a project that   
   uses a mouse to sense the relative position of a machine.   
   The hardware is built...just needs to be programmed.   
   Stop snickering!!! I didn't do it...I just gotta fix it.   
      
   I need to make some calculations on the measurements   
   and  VB6 is my language.   
      
   Yes, the system mouse will corrupt the measurement,   
   but it's an auditing function and that's acceptable.   
      
   Everything I've tried so far requires resetting the   
   mouse cursor to a known position on the screen at the   
   start of the machine cycle.  That sorta works, but   
   makes it impossible for the system mouse to take control   
   long enough to operate the computer.   
      
   I need to get rid of the cursor position reset and just   
   monitor the movement of the mouse...NOT the position of   
   the cursor on the screen.   
      
   The obvious stuff in the API looks at cursor position.   
   I need mouse movement.   
      
   Is there some function that can be inquired   
   to determine mouse movement since the last query even when   
   the mouse cursor is stuck on the edge of the screen?   
      
   Thanks, mike   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca