Method CreateCaret
CreateCaret(IntPtr, int, int)
Creates a new shape for the system caret and assigns ownership of the caret to the specified window.
public static bool CreateCaret(IntPtr handle, int width, int height)
Parameters
handleIntPtrHandle to the window that owns the caret.
widthintSpecifies the width of the caret in logical units.
heightintSpecifies the height of the caret in logical units.
Returns
- bool
If the function succeeds, the return value is nonzero; otherwise zero.