[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 145

public function TWidgetSet.GetStockObject(

  Value: Integer

):TLCLHandle; virtual;

Arguments

Value

  

The object kind.

Function result

The handle, zero on failure.

Description

These are the predefined (Windows) stock objects:


Version 4.0 Generated 2025-05-03 Home