共用方式為


CWindow::ShowCaret

顯示系統游標。

BOOL ShowCaret( ) throw();

備註

請參閱在 Windows SDK的 ShowCaret

範例

//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();

需求

Header: atlwin.h

請參閱

參考

CWindow 類別

CWindow::HideCaret