[Overview][Types][Procedures and functions][Variables][Index] Reference for unit 'LCLIntf' (#lcl)

CreateCaret

Creates a Caret (text cursor).

Declaration

Source position: winapih.inc line 51

function CreateCaret(

  Handle: HWND;

  Bitmap: HBITMAP;

  width: Integer;

  Height: Integer

):Boolean;

Arguments

Handle

  

The window that owns the caret.

Bitmap

  

Bitmap Handle, or zero for a solid (black) caret, 1 for a grey caret.

width

  

The width of the caret, in logical units.

Height

  

The height of the caret, in logical units.

Function result

False on failure.

Description

This description is taken from the WinAPI, no guarantee for other platforms.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.