Product Documentation
Cadence User Interface SKILL Reference
Product Version IC23.1, September 2023

hiGetScreenPoint

hiGetScreenPoint( 
w_windowId 
) 
=> l_point / nil 

Description

Returns the current location of the pointer relative to the upper-left corner of the drawable area of a window. This function does not apply to session windows or dockable windows.

Even if the pointer is currently over another window that obscures w_windowId, this function returns its location as long as it it is within the boundaries of w_windowId. The location is in pixels relative to the upper left corner of the drawable area.

Argument

w_windowId

ID of the window. The window cannot be a session window or dockable window.

Value Returned

l_point

Location of the pointer in pixels relative to the upper left corner of the drawable area.

nil

The pointer is not within the drawable area of the window or the window is hidden behind other tabs in a session window.

Related Topics

Window Functions

hiGetDrawThruDelta

hiOpenWindow

hiGetDbuPoint


Return to top
 ⠀
X