Navigation:  ThinBASIC Modules > UI (User Interface) > Windows API >

Win_GetCursorPos

Previous pageReturn to chapter overviewNext page

 

Description

 

Retrieves the cursor's position, in screen coordinates.

 

Syntax

 

n = Win_GetCursorPos(lpPoint)

 

Returns

 

Number.

 

Parameters

 

Name

Type

Optional

Meaning

lpPoint

UDT

No

A POINTAPI structure that receives the screen coordinates of the cursor.

 

Remarks

 

For additional info, please refer to MS documentation at: http://msdn.microsoft.com/en-us/library/ms648390(VS.85).aspx

 

Restrictions

 

See also

 

Examples