[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets a bitmap with the glyph image for the specified button identifier.
Source position: buttons.pp line 529
function GetButtonIcon( |
idButton: Integer |
idButton |
|
Numeric button identifier for the glyph loaded in the routine. |
Bitmap instance with the glyph for the specified button.
GetButtonIcon is a TCustomBitmap function used to get a bitmap with the glyph for the button identifier in idButton. GetButtonIcon calls the GetStockImage routine in ThemeServices to get the handle used for the stock image. If the return value is False, the GetDefaultButtonIcon routine is called to get the icon for the button identifier.
GetButtonIcon is used in the implementation of the LoadGlyphFromStock routine.
|
Loads the bitmap for the specified Glyph using the image for the specified button identifier. |
Version 3.2 | Generated 2024-02-25 | Home |