TWidgetSet.GetStockObject function
Retrieves a handle to one of the predefined graphic objects.
Declaration
function GetStockObject(Value: Integer): TLCLHandle; virtualArguments
Value | The object kind. |
Function result
The handle, zero on failure.
Description
These are the predefined (Windows) stock objects:
- BLACK_BRUSH
- DKGRAY_BRUSH
- DC_BRUSH
- GRAY_BRUSH
- HOLLOW_BRUSH
- LTGRAY_BRUSH
- NULL_BRUSH
- WHITE_BRUSH
- BLACK_PEN
- DC_PEN
- WHITE_PEN
- ANSI_FIXED_FONT
- ANSI_VAR_FONT
- DEVICE_DEFAULT_FONT
- DEFAULT_GUI_FONT
- OEM_FIXED_FONT
- SYSTEM_FONT
- SYSTEM_FIXED_FONT
- DEFAULT_PALETTE
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
