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

hiGetCommandPoint

hiGetCommandPoint(
[ w_windowId ] 
[ g_dontAdjust ]
) 
=> l_pointList / nil 

Description

Gets the location where the cursor was the last time a mouse button or keyboard key was pressed, but only until the cursor leaves that window.

Arguments

w_windowId

Window where you want the function to act. If w_windowId is not specified, the function defaults to the current window.

g_dontAdjust

If argument is non-nil, the point returned is not adjusted by the application adjust proc. This means that the point returned is the point where the mouse was clicked not the nearest point as determined by the application.

Value Returned

l_pointList

The x:y position in user units.

nil

The w_windowId is invalid or the cursor is not in the specified window.

Related Topics

General Environmental Functions


Return to top
 ⠀
X