[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
True if a handle has been allocated for the mask in the image.
Source position: graphics.pp line 1671
public function TCustomIcon.MaskHandleAllocated: Boolean; override; |
True when the MaskHandle has been allocated for the icon image.
MaskHandleAllocated is an overridden method used to determine if a handle for the image mask has been allocated in the class instance. MaskHandleAllocated implements the abstract virtual method defined in the ancestor class.
The return value is True when Current contains a value other than -1, and the MaskHandle for the TIconImage in the shared image list has a non-zero value.
MaskHandleAllocated is called from methods that required a valid handle prior to performing actions using the mask image data. For example:
|
Copies values from the specified persistent object into the current class instance. |
|
|
Copies image data from the source image to the current icon image. |
|
|
Ensures that a handle for the mask in the icon is valid. |
|
|
BitmapHandle - the Handle that has been allocated for the Bitmap. |
|
|
Applies the color used for transparent pixels to the image. |
|
|
The handle allocated for the Bitmap Mask. |
|
|
MaskHandleAllocated - returns True if a handle has been allocated for the Mask. |
Version 3.2 | Generated 2024-02-25 | Home |