Microsoft KB Archive/193005

{|
 * width="100%"|

INFO: mouse_event Different Between Windows 2000 Beta & Win 98

 * }

Q193005

-

The information in this article applies to:


 * Microsoft Win32 Software Development Kit (SDK), on platform(s):
 * Microsoft Windows 2000
 * Microsoft Windows 98

-

******************************************************************** 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.