IUIAutomationElement::GetClickablePoint Method

Retrieves a point on the element that can be clicked.

Syntax

HRESULT GetClickablePoint(      
    POINT *clickable,
    BOOL *gotClickable
);

Parameters

  • clickable
    [out] The address of a POINT structure that receives the physical screen coordinates of a point that can be used by a client to click on this element.
  • gotClickable
    [out, retval] The address of a variable that receives a BOOL, which is TRUE if a clickable point was retrieved, and FALSE otherwise.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

UIA_ClickablePointPropertyId, IUIAutomationElement