LoadVectorIconFromResource Method
See Also
ImageManagerIcons Collection
| Module |
Resource Type |
Resource |
nID Command |
nWidth |
image State |
 |
|
Property Grid ActiveX Control v24.0 |
|
|
|
Syntax
Public Function LoadVectorIconFromResource( _
ByVal [Module](#) As Integer, _
ByVal [ResourceType](#) As String, _
ByVal [Resource](#) As Long, _
ByVal [nIDCommand](#) As Long, _
ByVal [nWidth](#) As Long, _
ByVal [imageState](#) As [XTPImageState](XtremeCalendarControl~Enumerations~XTPImageState_EN.md) _
) As Boolean
Parameters
| Parameter |
Description |
| Module |
Specifies the module from which to load the icon. |
| ResourceType |
Specifies the type of resource (e.g., "PNG", "SVG"). |
| Resource |
Specifies the resource identifier. |
| nIDCommand |
Specifies the command ID associated with the icon. |
| nWidth |
Specifies the width of the icon. |
| imageState |
Specifies the state of the image. Possible values include: |
|
- xtpImageNormal: The image displayed when the item is displayed normally. |
|
- xtpImageDisabled: The image displayed when the item is disabled. |
|
- xtpImageHot: The image displayed when the mouse pointer is positioned over the item. |
|
- xtpImageChecked: The image displayed when the item is selected. |
|
- xtpImagePressed: The image displayed when the item is currently pressed by the mouse. |
See Also
ImageManagerIcons Collection
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.