INFO: mouse_event Different Between Windows 2000 Beta & Win 98 (193005)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • Microsoft Windows 98

This article was previously published under Q193005
********************************************************************
BETA INFORMATION BETA INFORMATION BETA INFORMATION BETA
This article discusses a Beta release of a Microsoft
product. The information in this article is provided as-is
and is subject to change without notice.
No formal product support is available from Microsoft for
this Beta product. For information about obtaining support
for a Beta release, please see the documentation included
with the Beta product files, or check the Web location
from which you downloaded the release.
BETA INFORMATION BETA INFORMATION BETA INFORMATION BETA
********************************************************************
			

SUMMARY

The mouse_event function behaves differently between Windows 98 multimonitor mode and Windows 2000 multimonitor mode.

MORE INFORMATION

On Windows 98, mouse_event only allows absolute moves on the primary monitor. On Windows 2000 Beta 2, mouse_event allows absolute moves onto all monitors that are part of the virtual desktop. Relative moves are allowed on all monitors that are attached to the desktop on both platforms.

This difference in behavior is by design.

When you try to move the mouse cursor to an area that does not exist on any monitor you might have unpredictable results. For example, the cursor might not move at all, it might actually move and become invisible, or it might simply stop at the edge of the screen. It is up to you, as the developer, to make sure that relative moves end up on defined parts of the virtual desktop.

Because this article refers to a Beta product (Windows 2000, Beta 2), references to the behavior of the Beta product are informational only, and (as in all Beta products) there is no guarantee that the specific feature which is currently described will be identical in the released version.

REFERENCES

For additional information about how to work around this behavior and make Windows 98 emulate Windows 2000, please see the following article in the Microsoft Knowledge Base:

193003 PRB: mouse_event and Absolute Moves on Secondary Monitors

Platform SDK documentation: mouse_event; SystemParametersInfo (for more information on mouse ballistics & acceleration with relative mouse moves)

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbinfo kbInput KB193005