get_caret_position


bool get_caret_position(point* position)

This function obtains the position of the caret (in client coordinates).

Parameters

point* position

A pointer to an object that receives the position of the caret.

Return

bool

true The call succeeded.
false The call failed.

Notes

The position of the caret is given in coordinates of the containing client window.