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,624 of 10,840    |
|    Dean Earley to mike    |
|    Re: Track Mouse Movement when the cursor    |
|    12 Aug 08 10:18:27    |
      From: dean.earley@icode.co.uk              mike wrote:       > 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              Not without disabling the mouse entirely and reading the data directly.       There is no concept of movement outside the workspace area.       This also requires that the "machine" is moving the physical mouse,       meaning the user can't use it.              If it isn't moving the physical mouse, why does it touch the cursor       position?              --       Dean Earley (dean.earley@icode.co.uk)       i-Catcher Development Team              iCode Systems              --- 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