Declaration ​
pascal
procedure LoadFromResourceID(Instance: THandle; ResID: Integer; ResType: TResourceType = RT_BITMAP);Parameters ​
| Parameter | Type | Description |
|---|---|---|
Instance | THandle | Module handle containing the resource. |
ResID | Integer | Integer resource ID. |
ResType | TResourceType | Resource type identifier (default RT_BITMAP). |
Description ​
LoadFromResourceID loads bitmap contents from a compiled executable/DLL resource.
Example ​
pascal
Bitmap.LoadFromResourceID(HInstance, 101);