Hello Xailers,
I want to know if is there any way to change the mouse cursor position. eg.: I want to move the mouse cursor to a button when a message form opens.
I tried with the MSetPos() but it is only for fullscreen and console aplication, right?
Is there any other function that i can use to do this?
Thanks,
Juliano
In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.
Change the position of the mouse cursor
- ignacio
- Site Admin
- Mensajes: 9447
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
Change the position of the mouse cursor
emeasoft escribió el lun, 26 marzo 2012 15:43Hello Xailers,
I want to know if is there any way to change the mouse cursor position. eg.: I want to move the mouse cursor to a button when a message form opens.
I tried with the MSetPos() but it is only for fullscreen and console aplication, right?
Is there any other function that i can use to do this?
Thanks,
Juliano
SetCursorPos( nX, nY )
BTW, you should take care that nX and nY are screen coordinates.
Regards,
I want to know if is there any way to change the mouse cursor position. eg.: I want to move the mouse cursor to a button when a message form opens.
I tried with the MSetPos() but it is only for fullscreen and console aplication, right?
Is there any other function that i can use to do this?
Thanks,
Juliano
SetCursorPos( nX, nY )
BTW, you should take care that nX and nY are screen coordinates.
Regards,
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Change the position of the mouse cursor
Thanks Ignacio!
It worked very well.
Regards,
Juliano
It worked very well.
Regards,
Juliano