ITextHost2::TxSetCursor2 method (textserv.h)
Sets the shape of the cursor in the text host window.
Syntax
HCURSOR TxSetCursor2(
HCURSOR hcur,
BOOL bText
);
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
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for