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

TWidgetSet.GetStockObject

Retrieves a handle to one of the predefined graphic objects.

Declaration

Source position: winapih.inc line 144

public function TWidgetSet.GetStockObject(

  Value: Integer

):THandle; virtual;

Arguments

Value

  

The object kind.

Function result

The handle, zero on failure.

Description

These are the predefined (Windows) stock objects:

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