CWindow::CreateCaret

This method creates a new shape for the system caret.

Syntax

BOOL CreateCaret( HBITMAP pBitmap );

At a Glance

Header file: Atlwin.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

Remarks

Windows CE only supports solid carets, so you should always set the hBitmap argument to NULL.

See Also

CWindow Overview, CWindow Methods, CWindow::CreateSolidCaret, CWindow::CreateGrayCaret