GetSystemMetrics(SM_MOUSEWHEELPRESENT) to check whether a mouse wheel is present on an attached mouse device. In this situation, Windows will always return 0 because the Remote Desktop service reports that a 2-button mouse is attached that does not include a mouse wheel.
This can affect applications that rely upon GetSystemMetrics when it determines whether to process mouse wheel input.
Applications or third-party controls that call GetSystemMetrics(SM_MOUSEWHEELPRESENT) to determine whether a mouse wheel is present may not process mouse wheel input when GetSystemMetrics reports that a mouse wheel is not present. These applications or third-party controls can be updated to process mouse wheel input regardless of whether GetSystemMetrics reports that a mouse wheel is present.
Artikel-id: 3015033 – senaste granskning 28 nov. 2014 – revision: 1