Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[System.Runtime.InteropServices.DllImport("user32.dll")]staticextern bool SetCursorPos(int x,int y);
[System.Runtime.InteropServices.DllImport("user32.dll")]publicstaticexternvoid mouse_event(int dwFlags,int dx,int dy,int cButtons,int dwExtraInfo);
publicconstint MOUSEEVENTF_LEFTDOWN =0x02;publicconstint MOUSEEVENTF_LEFTUP =0x04;
mouse_event(MOUSEEVENTF_LEFTDOWN, xpos, ypos,0,0);//Postiion
mouse_event(MOUSEEVENTF_LEFTUP, xpos, ypos,0,0);}//Position
MerciSalut,
Précise le langage que tu utilise ^^, je présume que c'est du .NET ?
Si oui tu utilise ce genre de méthode
Code:[System.Runtime.InteropServices.DllImport("user32.dll")]staticextern bool SetCursorPos(int x,int y); [System.Runtime.InteropServices.DllImport("user32.dll")]publicstaticexternvoid mouse_event(int dwFlags,int dx,int dy,int cButtons,int dwExtraInfo); publicconstint MOUSEEVENTF_LEFTDOWN =0x02;publicconstint MOUSEEVENTF_LEFTUP =0x04; mouse_event(MOUSEEVENTF_LEFTDOWN, xpos, ypos,0,0);//Postiion mouse_event(MOUSEEVENTF_LEFTUP, xpos, ypos,0,0);}//Position
Bonne fin d'après-midi,
DEVR0
Non j'ai pas Skype ^^Tu aurait skype ?J'ai besoin de toi! panda34852
Je t'attends
![]()
ah x) a la rigueur tu aurait pas un portable ou un facebook je sais pas moi merciNon j'ai pas Skype ^^
Mais le problème c'est que tu va galérer à mettre en place, parce que ça change selon la résolution d'écran ^^