TTMSFNCBitmapContainer.AddFromResource Method
Adds a bitmap from an application resource and assigns it the specified name.
API unit family: TMSFNCBitmapContainer
Declaring type: TTMSFNCBitmapContainer
Overloads
Overload 1
Adds a bitmap from an application resource and assigns it the specified name.
procedure AddFromResource(ResourceName, BitmapName: string; AInstance: NativeUInt); overload;
Parameters
| Name | Description |
|---|---|
ResourceName |
The resource identifier of the bitmap. |
BitmapName |
The name to assign to the added bitmap item. |
AInstance |
The module instance handle that contains the resource. |
Overload 2
Adds a bitmap from an application resource in the current module and assigns it the specified name.
procedure AddFromResource(ResourceName, BitmapName: string); overload;
Parameters
| Name | Description |
|---|---|
ResourceName |
The resource identifier of the bitmap. |
BitmapName |
The name to assign to the added bitmap item. |