ITextHost::TxShowCaret method

Shows or hides the caret at the caret position in the text host window.

Syntax


BOOL TxShowCaret(
  [in] BOOL fShow
);

Parameters

fShow [in]

Type: BOOL

Flag. If TRUE, the caret is visible. If FALSE, the caret is hidden.

Return value

Type: BOOL

Return TRUE if the method succeeds.

Return FALSE if the method fails.

Remarks

This method is only valid when the control is in-place active; calls while the control is inactive may fail.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Textserv.h

DLL

Msftedit.dll

See also

ITextHost
Reference
TxCreateCaret
TxSetCaretPos
Conceptual
Windowless Rich Edit Controls

 

 

Show: