This method creates a new shape for the system caret.
BOOL CreateCaret( HBITMAP pBitmap );
Header file: | Atlwin.h |
Platforms: | |
Versions: | Version 2.0 and later |
Complete documentation: | Visual C++ documentation |
Windows CE only supports solid carets, so you should always set the hBitmap argument to NULL.
CWindow Overview, CWindow Methods, CWindow::CreateSolidCaret, CWindow::CreateGrayCaret