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

TWidgetSet.SetCursor

Changes the shape of the mouse cursor.

Declaration

Source position: winapih.inc line 243

public function TWidgetSet.SetCursor(

  hCursor: HICON

):HCURSOR; virtual;

Arguments

hCursor

  

The new cursor handle.

Function result

The handle of the previous cursor, zero if none.

See also

#lcl.Controls.TCursor

  

TCursor - integer type defining range of values for cursor shapes.

TWidgetSet.CreateStandardCursor

  

Creates one of the standard cursors.

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