Skip to content

LoadVectorIconCode Method

See Also

ImageManagerIcons Collection


Syntax

Public Function LoadVectorIconCode( _
    ByVal Code As String, _
    ByVal nIDCommand As Long, _
    ByVal nWidth As Long, _
    ByVal imageState As XTPImageState _
) As Boolean

Parameters

Parameter Type Description
Code String The code for the vector icon to be loaded.
nIDCommand Long The command ID associated with the icon.
nWidth Long The width of the icon to be loaded.
imageState XTPImageState Specifies the state of the icon to be loaded. 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" or selected icon. This is the image displayed when the item is in a selected state.
- xtpImagePressed: Specifies a "pressed" or pushed icon. This is the image displayed when the item is currently pressed by the mouse cursor.

See Also

ImageManagerIcons Collection


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.