共用方式為


CWindow::ShowCaret

Displays the system caret.

BOOL ShowCaret( ) throw();

Remarks

See ShowCaret in the Windows SDK.

Example

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::ShowCaret() to show the caret

CWindow myWindow;
myWindow.Attach(hWnd);
myWindow.ShowCaret();

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::HideCaret

Other Resources

CWindow Members