brad at seme.com.au
Mon Apr 14 21:51:22 CDT 2003
I have been doing some testing of the mouse_event call in windows and wine.
There is only one incompatibility that I can see.
In windows 95, a call to mouse_event does not _move_ the mouse pointer,
whereas in wine, the mouse pointer follows the mouse.
In windows, I have to make a call to mouse_event then another call to
setcursorpos() to make the pointer follow the mouse.
When using a touchscreen for input, we use a setcursorpos() call to move
the mouse pointer off the screen, and then just feed windows mouse_event
calls with the position and button state.
This works under wine, but of course the pointer follows the mouse_event.
It looks like this would be difficult to fix as from what I can see the
pointer movement seems to be pretty closely tied to the mouse position.
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
More information about the wine-devel