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
handle
IntPtrHandle to the window that owns the caret.
width
intSpecifies the width of the caret in logical units.
height
intSpecifies the height of the caret in logical units.
Returns
- bool
If the function succeeds, the return value is nonzero; otherwise zero.