GetMousePosX

Syntax:

GetMousePosX()

Description:
Returns the x coordinate of the current mouse position.  The very left of the screen is 0.

Parameter Description

(no parameters)

Example:

Sub Main
' Display the position of the mouse
strMousePos = GetMousePosX() & "," & GetMousePosY()
MsgBox strMousePos
End
Sub

See Also:

GetMousePosY