CWnd::ShowCaret

Syntax

void ShowCaret();

Remarks

Shows the caret on the display at the caret's current position. Once shown, the caret begins flashing automatically.

The ShowCaret member function shows the caret only if it has a current shape and has not been hidden two or more times in a row. If the caret is not owned by CWnd, the caret is not shown.

Hiding the caret is accumulative. If the HideCaret member function has been called five times in a row, ShowCaret must be called five times to show the caret.

The caret is a shared resource. The CWnd should show the caret only when it has the input focus or is active.

See Also

CWnd::HideCaret, ::ShowCaret