共用方式為


CWindow::HideCaret

Hides the system caret.

BOOL HideCaret( ) throw();

Remarks

See HideCaret in the Windows SDK.

Example

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::HideCaret() to hide the caret of the window owning 
//the caret

CWindow myWindow;
myWindow.Attach(hWndEdit);
myWindow.HideCaret();

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::ShowCaret

Other Resources

CWindow Members