VisListBoxExtension
PPJ.Runtime.Vis.VisListBoxExtension
Last updated
PPJ.Runtime.Vis.VisListBoxExtension
Last updated
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Web.Vis.49 (4.9.0.0)
Common listbox extension class
Multiple Inheritance Constructor
Name | Type | Description |
---|---|---|
derived |
Name | Type | Description |
---|---|---|
hFont | ||
hItem | ||
hPicNormal | ||
hPicSelect | ||
nColor | ||
nFlags | ||
nIdx | ||
nIndex | ||
nItemFlags | ||
nLevel | ||
nStyle | ||
nValue | ||
sText |
Adds an item to the list and displays it in the specified color.
Returns: SalNumber.
Adds an item to the list, displays it in the specified color and associates the specified value with the item.
Returns: SalNumber.
Adds an item to the list control and displays it in the specified font.
Returns: SalNumber.
Adds a new item with the specified font and value.
Returns: SalNumber.
Adds an item to the list control and specified an image for the normal and selected state.
Returns: SalNumber.
Adds an item to the list control and specified an image for the normal and selected state, and a value to associate with the item.
Returns: SalNumber.
Collapses all descendant items.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalBoolean.
Deletes the child item from the tree control.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalNumber.
Deletes all descendants (children, grandchildren, and so on) of the specified child.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalNumber.
Moves an item and all descendants right in the outline by making the item become the last child of the previous sibling. If the new parent node was not already a parent, the images are also updated. Otherwise the images are ignored.
Returns: SalBoolean.
Disables the specified item.
Returns: SalNumber.
Moves the source item to the new location, providing support for dragging tree items.
Returns: SalBoolean.
Enables the specified item.
Returns: SalNumber.
Enumerates child item handles for a specified item.
Parameter | Type | Description |
---|---|---|
hItem | ||
hItems |
Returns: SalNumber.
Enumerates descendant (children, grandchildren, and so on) item handles for a specified item.
Parameter | Type | Description |
---|---|---|
hItem | ||
hItems |
Returns: SalNumber.
Expands an outline one level at the index specified.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalBoolean.
Displays all descendants of an item.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalBoolean.
Finds the item with the specified value in the descendants of the specified node.
Returns: SalNumber.
Frees memory for the item specified and for all its descendants.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalBoolean.
Frees memory for all descendants of the item specified.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalBoolean.
Fully qualified expressions operator.
Parameter | Type | Description |
---|---|---|
hWnd |
Returns: VisListBoxExtension.
Returns the instance of VisListBoxExtension from the item handle.
Parameter | Type | Description |
---|---|---|
handle |
Returns: VisListBoxExtension.
Returns the current color of the list item.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalNumber.
Returns the item's flags.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalNumber.
Returns the current font of the list control item.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalNumber.
Retrieves the color associated with an outline item.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
hItem | ||
sText | ||
nValue | ||
nItemFlags |
Returns: SalBoolean.
Returns the items's flags.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Retrieves the font associated with an outline item.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Retrieves the item handle based on an index specified.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalNumber.
Retrieves the index associated with an outline item based on an item handle.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
hItem | ||
hPicNormal | ||
hPicSelected |
Returns: SalBoolean.
Returns the text for the outline item.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalString.
Returns the value saved with the outline item.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Returns the indentation level of the specified item.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Retrieves the item handle for the next sibling of the specified item.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Retrieves the item handle for the parent of the specified item.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Parameter | Type | Description |
---|---|---|
nIndex | ||
hPicNormal | ||
hPicSelected |
Returns: SalNumber.
Retrieves the item handle for the previous sibling of the specified item.
Parameter | Type | Description |
---|---|---|
hItem |
Returns: SalNumber.
Returns the handle for the root node.
Returns: SalNumber.
Returns the style flags for the control.
Returns: SalNumber.
Inserts an item to the list control at the specified position and displays it in the specified color.
Returns: SalNumber.
Inserts an item to the list control at the specified position, displays it in the specified color and associates the specified value to the item.
Returns: SalNumber.
Adds an item to a list control at the specified index and displays it in the specified font.
Returns: SalNumber.
Adds an item to the list control, displays it in the specified font, and associates the specified value with the item.
Returns: SalNumber.
Inserts an item at the specified position and specifies an image for the normal and selected state.
Returns: SalNumber.
Inserts an item at the specified position and specifies an image for the normal and selected state, and associates a value to the item.
Parameter | Type | Description |
---|---|---|
nIndex | ||
sText | ||
hPicNormal | ||
hPicSelected | ||
nValue |
Returns: SalNumber.
Inserts an item as the last child of the specified parent.
Parameter | Type | Description |
---|---|---|
hItem | ||
hPicNormal | ||
hPicSelected | ||
sText | ||
nValue | ||
nItemFlags |
Returns: SalNumber.
Inserts multiple items as the last children of the specified parent item.
Parameter | Type | Description |
---|---|---|
hItem | ||
hPicNormal | ||
hPicSelect | ||
sTexts | ||
nValues | ||
nItemFlags |
Returns: SalNumber.
Deserializes the entire outline tree from the specified XML string.
Parameter | Type | Description |
---|---|---|
xml |
Returns: SalNumber.
Loads the serialized outline structure from the file and creates the new items as children of the specified node.
Parameter | Type | Description |
---|---|---|
sFileName | ||
hPicParentNormal | ||
hPicParentSelect | ||
hPicChildNormal | ||
hPicChildSelect |
Returns: SalNumber.
Loads a new tree node as a sibling of the specified item.
Parameter | Type | Description |
---|---|---|
hItemBefore | ||
hPicNormal | ||
hPicSelected | ||
sText | ||
nValue | ||
nItemFlags |
Returns: SalNumber.
Moves the specified item down one position in the tree.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalBoolean.
Moves an item and its descendants up in the list.
Parameter | Type | Description |
---|---|---|
nIndex |
Returns: SalBoolean.
Moves an item and its descendants left in the outline by making it the last sibling of the parent item. If the node was the only child, the images of the previous parent node are also updated, otherwise the images are ignored.
Returns: SalBoolean.
Parameter | Type | Description |
---|---|---|
xml |
Returns: SalNumber.
Sets the color of a list item.
Returns: SalBoolean.
Sets the item's flags.
Parameter | Type | Description |
---|---|---|
nIndex | ||
nFlags | ||
bState |
Returns: SalBoolean.
Sets the font of the list control item.
Returns: SalBoolean.
Sets the color of the outline item.
Returns: SalBoolean.
Updates the specified item.
Returns: SalNumber.
Sets the item's flags.
Parameter | Type | Description |
---|---|---|
hItem | ||
nFlags | ||
bState |
Returns: SalBoolean.
Sets the font of the outline item.
Returns: SalBoolean.
Assigns new bitmaps to the specified item.
Returns: SalBoolean.
Sets the text of the outline item.
Returns: SalBoolean.
Sets the value associated to the outline item.
Returns: SalBoolean.
Enables or disables drawing.
Parameter | Type | Description |
---|---|---|
bRedraw |
Returns: SalBoolean.
Changes the normal and selected images for the specified item.
Returns: SalNumber.
Sets the style flags for the control.
Parameter | Type | Description |
---|---|---|
nStyle |
Returns: SalBoolean.
Expands list items up to the specified level.
Parameter | Type | Description |
---|---|---|
nLevel |
Returns: SalBoolean.
Name | Description |
---|---|