Windows Dev Center

ITextHost2::TxShowDropCaret method

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

Syntax


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

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Textserv.h

DLL

Msftedit.dll

See also

ITextHost2

 

 

Community Additions

ADD
Show:
© 2015 Microsoft