ITextHost2::TxSetCursor2 method

Sets the shape of the cursor in the text host window.

Syntax


virtual HCURSOR TxSetCursor2(
  HCURSOR hcur,
  BOOL bText
) = 0;

Parameters

hcur

Type: HCURSOR

The new cursor shape.

bText

Type: BOOL

TRUE if the cursor is used for text, or FALSE if not.

Return value

Type: HCURSOR

Returns the cursor that hcur is replacing.

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

ITextHost::TxSetCursor
ITextHost2
ITextServices::OnTxSetCursor

 

 

Community Additions

ADD
Show:
© 2014 Microsoft