Show / Hide Table of Contents

Method miscInfo.getTextCursorRect


Overload

Gets caret rectangle.

public static bool getTextCursorRect(out RECT r, out wnd w, bool orMouse = false)
Parameters
r  (RECT)

Receives the rectangle, in screen coordinates.

w  (wnd)

Receives the caret owner control or the focused control.

orMouse  (bool)

If fails, get mouse pointer coordinates.

Returns
bool

false if failed.

Remarks

Some apps use non-standard caret; then may fail.