[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Specifies a function called to load a named icon from a resource with the specified handle.
Source position: interfacebase.pp line 222
type TLoadIconFunction = function( |
hInstance: TLCLHandle; |
lpIconName: PChar |
):HICON; |
hInstance |
|
Handle for the resource where the icon is located. |
lpIconName |
|
PChar value which points to the resource name or identifier for the icon loaded in the routine. |
Handle for the icon created and loaded in the routine.
TLoadIconFunction is the type used to implement the LoadIconFunction procedure variable. An example implementation is provided in the LocalLoadIcon function found in the implementation for the graphics.pp unit.
Modified in LCL version 4.0 to use the TLCLHandle type instead of the deprecated THandle type in the hInstance parameter.
|
Variable with the function called to load an icon from a specified file or resource and return its handle. |
|
|
Loads icon data from the specified instance and resource handles. |
|
|
The type used for handles in LCL applications, components, controls, and widget set classes. |
Version 4.0 | Generated 2025-05-03 | Home |