We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


Hides the caret by removing it from the display screen.

void HideCaret( );

Although the caret is no longer visible, it can be displayed again by using the ShowCaret member function. Hiding the caret does not destroy its current shape.

Hiding is cumulative. If HideCaret has been called five times in a row, the ShowCaret member function must be called five times before the caret will be shown.

Header: afxwin.h