|
SetMouse | |
SetMouse Xpos, Ypos | |
Parameters: Xpos = The X coordinate of where you wish to locate the mouse pointer Ypos = The Y coordinate of where you wish to locate the mouse pointer |
|
Returns: NONE | |
SetMouse will position the windows mouse pointer. FACTS: * When a program is running with a windowed screen mode, the mouse coordinates with be in the range of the size of the windows desk top and not the PlayBASIC window. So if you wish to reposition the mouse over your windowed screen, you'll need to read where the screen is located using the GetScreenXpos() and GetScreenYpos() commands. Then offset it from those. Mini Tutorial: This example shows uses the SetMouse and SetMouseX and SetMouseY commands to randomly reposition the mouse pointer when certain keys are hit.
|
Related Info: | MouseButton | MouseMoveX | MouseMoveY | MouseMoveZ | MouseX | MouseY | MouseZ | SetMouseX | SetMouseY : |
|
|||||||||||||||||||||||||||||||||||||||
(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com |