Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I know if mouse is left-hand ?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00227856
Message ID:
00227875
Vues:
28
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform