Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ARG SBCONT Class not working with Windows Server 2012
Message
From
23/01/2020 05:18:13
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
01672693
Message ID:
01672703
Views:
75
Likes (1)
>Nevermind. I figured it out.
>
>These lines are the culprit:
>
>
>#define SM_MOUSEWHEELPRESENT      75
>#define SPI_GETWHEELSCROLLLINES      0x0068
>Declare Integer GetSystemMetrics In Win32API Integer
>
>? GetSystemMetrics( SM_MOUSEWHEELPRESENT) != 1
>
>
>Returns .F. for most Windows OS
>Returns .T. for Windows Server 2012
>
>Evidently Windows 2012 does not work correctly with this to be able to see there is a wheel on the mouse that goes round and round.

Is this in a Remote Desktop session? If so, https://support.microsoft.com/en-us/help/3015033/getsystemmetrics-sm-mousewheelpresent-returns-0-in-remote-desktop-sess
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform