[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 500
function GetButtonIcon( |
idButton: Integer |
GetButtonIcon is a TCustomBitmap function used to get a bitmap with the glyph image 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 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. |