Closed leviwilson closed 11 years ago
With e9f5155, I realized that this could be an issue with modal dialogs as described in this Microsoft document. Therefore, I added the RA_PointAndClick
that will use UIA to get the AutomationElement::GetClickablePoint
, move the cursor there and then click it.
I've updated the
MsUia::Functions#control_click
method to use UIA rather than sending aBM_CLICK
to the control itself. Any automation control window that implementsInvokePattern
(buttons),TogglePattern
(checkboxes) orSelectionItemPattern
(radio buttons) can be clicked.