Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I know if mouse is left-hand ?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00227856
Message ID:
00227875
Views:
27
>Hi to all,
>
>I want to give to my forms a more user friendly interface, I want to enabled my forms to change position to controls when the user is left-handed, because I think that with a left-handed mouse it's more difficult to click on some position than with a right-handed mouse. So how can I know if the user have setted in control panel the left-handed mouse ?
>
>TIA
Hi Renato,

As Michael mentioned the value is stored in the registry. An easy way to retrieve the value is:
#DEFINE SM_SWAPBUTTON 23
DECLARE INTEGER GetSystemMetrics IN Win32API;
  INTEGER nIndex
lnresult = GetSystemMetrics(SM_SWAPBUTTON)
? lnresult && 0 if right handed, otherwise left
hth,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform