LoadVectorIconFromResource Method
See Also
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 _
) As Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| Module | Integer | Specifies the module from which to load the icon. |
| ResourceType | String | Specifies the type of resource. |
| Resource | Long | Specifies the resource identifier. |
| nIDCommand | Long | Specifies the command identifier. |
| nWidth | Long | Specifies the width of the icon. |
| imageState | XTPImageState | Specifies the state of the image. Possible values include: |
| - xtpImageNormal: Specifies a normal icon. This is the image displayed when the item is displayed normally. | ||
| - xtpImageDisabled: Specifies a disabled icon. This is the image displayed when the item is disabled. | ||
| - xtpImageHot: Specifies a hot icon. This is the image displayed when the mouse pointer is positioned over the item. | ||
| - xtpImageChecked: Specifies a "checked"/selected icon. This is the image displayed when the item is in a selected state. | ||
| - xtpImagePressed: Specifies a "pressed"/pushed icon. This is the image displayed when the item is currently pressed by the mouse cursor. |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.