ITextHost2::TxShowDropCaret method (textserv.h)

Shows or hides the caret during the drop portion of a drag-and-drop operation (Direct2D only).

Syntax

HRESULT TxShowDropCaret(
  BOOL    fShow,
  HDC     hdc,
  LPCRECT prc
);

Parameters

fShow

Type: BOOL

Show or hide flag. TRUE shows the drop caret, and FALSE hides it.

hdc

Type: HDC

The HDC.

prc

Type: LPCRECT

The drop caret rectangle.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header textserv.h
DLL Msftedit.dll

See also

ITextHost2