>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
hth,
George
Ubi caritas et amor, deus ibi est