Table of Contents

Method CreateCaret

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

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 IntPtr

Handle to the window that owns the caret.

width int

Specifies the width of the caret in logical units.

height int

Specifies the height of the caret in logical units.

Returns

bool

If the function succeeds, the return value is nonzero; otherwise zero.