VisListBoxExtension

PPJ.Runtime.Vis.VisListBoxExtension

Namespace: PPJ.Runtime.Vis

Assembly: PPJ.Runtime.Vis.49 (4.9.0.0)

Common list box extension class

public class VisListBoxExtension : SalGeneralWindow

Constructors

Multiple Inheritance Constructor

NameTypeDescription

derived

Fields

NameTypeDescription

hFont

hItem

hPicNormal

hPicSelect

nColor

nFlags

from cOutline

nIdx

from cOutline

nIndex

nItemFlags

nLevel

nStyle

nValue

sText

Methods

Adds an item to the list and displays it in the specified color.

ParameterTypeDescription

sText

nColor

Returns: SalNumber.

Adds an item to the list, displays it in the specified color and associates the specified value with the item.

ParameterTypeDescription

sText

nColor

nValue

Returns: SalNumber.

Adds an item to the list control and displays it in the specified font.

ParameterTypeDescription

sText

hFont

Returns: SalNumber.

Adds a new item with the specified font and value.

ParameterTypeDescription

sText

hFont

nValue

Returns: SalNumber.

Adds an item to the list control and specified an image for the normal and selected state.

ParameterTypeDescription

sText

hPicNormal

hPicSelected

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.

ParameterTypeDescription

sText

hPicNormal

hPicSelected

nValue

Returns: SalNumber.

Collapses all descendant items.

ParameterTypeDescription

nIndex

Returns: SalBoolean.

Deletes the child item from the tree control.

ParameterTypeDescription

nIndex

Returns: SalNumber.

Deletes all descendants (children, grandchildren, and so on) of the specified child.

ParameterTypeDescription

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.

ParameterTypeDescription

nIndex

hPicNormal

hPicSelected

Returns: SalBoolean.

Disables the specified item.

ParameterTypeDescription

nIndex

nColor

Returns: SalNumber.

Moves the source item to the new location, providing support for dragging tree items.

ParameterTypeDescription

nSourceIndex

target

nTargetIndex

nDropMode

Returns: SalBoolean.

Enables the specified item.

ParameterTypeDescription

nIndex

nColor

Returns: SalNumber.

Enumerates child item handles for a specified item.

ParameterTypeDescription

hItem

hItems

Returns: SalNumber.

Enumerates descendant (children, grandchildren, and so on) item handles for a specified item.

ParameterTypeDescription

hItem

hItems

Returns: SalNumber.

Expands an outline one level at the index specified.

ParameterTypeDescription

nIndex

Returns: SalBoolean.

Displays all descendants of an item.

ParameterTypeDescription

nIndex

Returns: SalBoolean.

Finds the item with the specified value in the descendants of the specified node.

ParameterTypeDescription

hItem

nValue

Returns: SalNumber.

Frees memory for the item specified and for all its descendants.

ParameterTypeDescription

hItem

Returns: SalBoolean.

Frees memory for all descendants of the item specified.

ParameterTypeDescription

hItem

Returns: SalBoolean.

Fully qualified expressions operator.

ParameterTypeDescription

hWnd

Returns: VisListBoxExtension.

Returns the instance of VisListBoxExtension from the item handle.

ParameterTypeDescription

handle

Returns: VisListBoxExtension.

Gets the number of children for a specified item.

ParameterTypeDescription

hItem

bDirectChildrenOnly

Returns: SalNumber.

Returns the current color of the list item.

ParameterTypeDescription

nIndex

Returns: SalNumber.

Returns the item's flags.

ParameterTypeDescription

nIndex

Returns: SalNumber.

Returns the current font of the list control item.

ParameterTypeDescription

nIndex

Returns: SalNumber.

Returns the index of the item at the indicated screen coordinates.

ParameterTypeDescription

nXPos

nYPos

Returns: SalNumber.

Retrieves the color associated with an outline item.

ParameterTypeDescription

hItem

Returns: SalNumber.

ParameterTypeDescription

hItem

sText

nValue

nItemFlags

Returns: SalBoolean.

Returns the items's flags.

ParameterTypeDescription

hItem

Returns: SalNumber.

Retrieves the font associated with an outline item.

ParameterTypeDescription

hItem

Returns: SalNumber.

Retrieves the item handle based on an index specified.

ParameterTypeDescription

nIndex

Returns: SalNumber.

Retrieves the index associated with an outline item based on an item handle.

ParameterTypeDescription

hItem

Returns: SalNumber.

ParameterTypeDescription

hItem

hPicNormal

hPicSelected

Returns: SalBoolean.

Returns the text for the outline item.

ParameterTypeDescription

hItem

Returns: SalString.

Returns the value saved with the outline item.

ParameterTypeDescription

hItem

Returns: SalNumber.

Returns the indentation level of the specified item.

ParameterTypeDescription

hItem

Returns: SalNumber.

Retrieves the item handle for the next sibling of the specified item.

ParameterTypeDescription

hItem

Returns: SalNumber.

Retrieves the item handle for the parent of the specified item.

ParameterTypeDescription

hItem

Returns: SalNumber.

ParameterTypeDescription

nIndex

hPicNormal

hPicSelected

Returns: SalNumber.

Retrieves the item handle for the previous sibling of the specified item.

ParameterTypeDescription

hItem

Returns: SalNumber.

Returns the handle for the root node.

Returns: SalNumber.

Returns the style flags for the control.

Returns: SalNumber.

ParameterTypeDescription

nIndex

nTop

nLeft

nBottom

nRight

Returns: SalBoolean.

Inserts an item to the list control at the specified position and displays it in the specified color.

ParameterTypeDescription

nIndex

sText

nColor

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.

ParameterTypeDescription

nIndex

sText

nColor

nValue

Returns: SalNumber.

Adds an item to a list control at the specified index and displays it in the specified font.

ParameterTypeDescription

nIndex

sText

hFont

Returns: SalNumber.

Adds an item to the list control, displays it in the specified font, and associates the specified value with the item.

ParameterTypeDescription

nIndex

sText

hFont

nValue

Returns: SalNumber.

Inserts an item at the specified position and specifies an image for the normal and selected state.

ParameterTypeDescription

nIndex

sText

hPicNormal

hPicSelected

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.

ParameterTypeDescription

nIndex

sText

hPicNormal

hPicSelected

nValue

Returns: SalNumber.

Inserts an item as the last child of the specified parent.

ParameterTypeDescription

hItem

hPicNormal

hPicSelected

sText

nValue

nItemFlags

Returns: SalNumber.

Inserts multiple items as the last children of the specified parent item.

ParameterTypeDescription

hItem

hPicNormal

hPicSelect

sTexts

nValues

nItemFlags

Returns: SalNumber.

Inserts multiple items as the last children of the specified parent item.

ParameterTypeDescription

hItem

hPicNormal

hPicSelect

sTexts

nValues

nItemFlags

Returns: SalNumber.

Deserializes the entire outline tree from the specified XML string.

ParameterTypeDescription

xml

Returns: SalNumber.

Loads the serialized outline structure from the file and creates the new items as children of the specified node.

ParameterTypeDescription

sFileName

hPicParentNormal

hPicParentSelect

hPicChildNormal

hPicChildSelect

Returns: SalNumber.

Loads a new tree node as a sibling of the specified item.

ParameterTypeDescription

hItemBefore

hPicNormal

hPicSelected

sText

nValue

nItemFlags

Returns: SalNumber.

Moves the specified item down one position in the tree.

ParameterTypeDescription

nIndex

Returns: SalBoolean.

Moves an item and its descendants up in the list.

ParameterTypeDescription

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.

ParameterTypeDescription

nIndex

hPicNormal

hPicSelected

Returns: SalBoolean.

ParameterTypeDescription

xml

Returns: SalNumber.

Sets the color of a list item.

ParameterTypeDescription

nIndex

nColor

Returns: SalBoolean.

Sets the item's flags.

ParameterTypeDescription

nIndex

nFlags

bState

Returns: SalBoolean.

Sets the font of the list control item.

ParameterTypeDescription

nIndex

hFont

Returns: SalBoolean.

Gets or sets the distance to indent each of the child tree node levels.

ParameterTypeDescription

nWidth

Returns: SalBoolean.

Sets the color of the outline item.

ParameterTypeDescription

hItem

nColor

Returns: SalBoolean.

Updates the specified item.

ParameterTypeDescription

hItem

sText

nValue

nItemFlags

Returns: SalNumber.

Sets the item's flags.

ParameterTypeDescription

hItem

nFlags

bState

Returns: SalBoolean.

Sets the font of the outline item.

ParameterTypeDescription

hItem

hFont

Returns: SalBoolean.

Assigns new bitmaps to the specified item.

ParameterTypeDescription

hItem

hPicNormal

hPicSelected

Returns: SalBoolean.

Sets the text of the outline item.

ParameterTypeDescription

hItem

sText

Returns: SalBoolean.

Sets the value associated to the outline item.

ParameterTypeDescription

hItem

nValue

Returns: SalBoolean.

Enables or disables drawing.

ParameterTypeDescription

bRedraw

Returns: SalBoolean.

Changes the normal and selected images for the specified item.

ParameterTypeDescription

nIndex

hPicNormal

hPicSelected

Returns: SalNumber.

Sets the style flags for the control.

ParameterTypeDescription

nStyle

Returns: SalBoolean.

Expands list items up to the specified level.

ParameterTypeDescription

nLevel

Returns: SalBoolean.

Implements

NameDescription

Last updated