VisOutlineComboBox

PPJ.Runtime.Vis.VisOutlineComboBox

Namespace: PPJ.Runtime.Vis

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

Combobox which supports hierarchical tree outlines.

public class VisOutlineComboBox : VisDropDownBase

Constructors

VisOutlineComboBox()

Default Constructor.

Properties

hFont

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

hItem

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

hPicNormal

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

hPicSelect

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

nColor

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

nIndex

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

nItemFlags

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

nLevel

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

nStyle

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

nValue

SalNumberarrow-up-right: Multiple Inheritance: Wrapper property.

Sorted

Booleanarrow-up-right: Gets/Sets the sorted property.

sText

SalStringarrow-up-right: Multiple Inheritance: Wrapper property.

Methods

AddColor(sText, nColor)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

AddColorValue(sText, nColor, nValue)

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

Returns: SalNumberarrow-up-right.

AddFont(sText, hFont)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

AddFontValue(sText, hFont, nValue)

Adds a new item with the specified font and value.

Returns: SalNumberarrow-up-right.

AddPicture(sText, hPicNormal, hPicSelected)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

AddPictureValue(sText, hPicNormal, hPicSelected, nValue)

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: SalNumberarrow-up-right.

Collapse(nIndex)

Collapses all descendant items.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

DeleteChild(nIndex)

Deletes the child item from the tree control.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

DeleteDescendents(nIndex)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

Demote(nIndex, hPicNormal, hPicSelected)

Moves an item and all descendants right in the outline by making the item become the last child of the previous sibling.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

DisableItem(nIndex, nColor)

Disables the specified item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

DragDrop(nSourceIndex, hWndTarget, nTargetIndex, nDropMode)

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

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

EnableItem(nIndex, nColor)

Enables the specified item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

EnumChildren(hItem, hItems)

Enumerates child item handles for a specified item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

EnumDescendents(hItemParent, hItems)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

Expand(nIndex)

Expands an outline one level at the index specified.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

ExpandDescendents(nIndex)

Displays all descendants of an item.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

FindItemValue(hItem, nValue)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

FreeChild(hItemChild)

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

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

FreeDescendents(hItemParent)

Frees memory for all descendants of the item specified.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

FromHandle(hWnd)

Returns the control associated with the handle.

Parameter
Type
Description

Returns: VisOutlineComboBoxarrow-up-right.

GetColor(nIndex)

Returns the current color of the list item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetFlags(nIndex)

Returns the item's flags.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetFont(nIndex)

Returns the current font of the list control item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetItemColor(hItem)

Retrieves the color associated with an outline item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetItemData(hItem, sText, nValue, nItemFlags)

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

GetItemFlags(hItem)

Returns the items's flags.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetItemFont(hItem)

Retrieves the font associated with an outline item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetItemHandle(nIndex)

Retrieves the item handle based on an index specified.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetItemIndex(hItem)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetItemPicture(hItem, hPicNormal, hPicSelected)

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

GetItemText(hItem)

Returns the text for the outline item.

Parameter
Type
Description

Returns: SalStringarrow-up-right.

GetItemValue(hItem)

Returns the value saved with the outline item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetLevel(hItem)

Returns the indentation level of the specified item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetNextSibling(hItem)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetParent(hItem)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetPicture(nIndex, hPicNormal, hPicSelected)

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetPrevSibling(hItem)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

GetRoot()

Returns the handle for the root node.

Returns: SalNumberarrow-up-right.

GetStyle()

Returns the style flags for the control.

Returns: SalNumberarrow-up-right.

InsertColor(nIndex, sText, nColor)

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

Returns: SalNumberarrow-up-right.

InsertColorValue(nIndex, sText, nColor, nValue)

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: SalNumberarrow-up-right.

InsertFont(nIndex, sText, hFont)

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

Returns: SalNumberarrow-up-right.

InsertFontValue(nIndex, sText, hFont, nValue)

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

Returns: SalNumberarrow-up-right.

InsertPicture(nIndex, sText, hPicNormal, hPicSelected)

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

Returns: SalNumberarrow-up-right.

InsertPictureValue(nIndex, sText, hPicNormal, hPicSelected, nValue)

Inserts an item at the specified position and specifies an image for the normal and selected state, and associates a value to the item.

Returns: SalNumberarrow-up-right.

LoadChild(hItemParent, hPicNormal, hPicSelected, sText, nValue, nItemFlags)

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

Returns: SalNumberarrow-up-right.

LoadChildren(hItemParent, hPicNormal, hPicSelect, sTexts, nValues, nItemFlags)

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

Returns: SalNumberarrow-up-right.

LoadOutline(sBlob)

Deserializes the entire outline tree from the specified string.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

LoadOutlineFile(sFileName, hPicParentNormal, hPicParentSelect, hPicChildNormal, hPicChildSelect)

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

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

LoadSibling(hItemBefore, hPicNormal, hPicSelected, sText, nValue, nItemFlags)

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

Returns: SalNumberarrow-up-right.

MoveDown(nIndex)

Moves the specified item down one position in the tree.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

MoveUp(nIndex)

Moves an item and its descendants up in the list.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

Promote(nIndex, hPicNormal, hPicSelected)

Moves an item and its descendants left in the outline by making it the last sibling of the parent item.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

SaveOutline(sBlob)

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

SetColor(nIndex, nColor)

Sets the color of a list item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

SetFlags(nIndex, nFlags, bState)

Sets the item's flags.

Returns: SalBooleanarrow-up-right.

SetFont(nIndex, hFont)

Sets the font of the list control item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

SetItemColor(hItem, nColor)

Sets the color of the outline item.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

SetItemData(hItem, sText, nValue, nItemFlags)

Updates the specified item.

Returns: SalNumberarrow-up-right.

SetItemFlags(hItem, nFlags, bState)

Sets the item's flags.

Returns: SalBooleanarrow-up-right.

SetItemFont(hItem, hFont)

Sets the font of the outline item.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

SetItemPicture(hItem, hPicNormal, hPicSelected)

Assigns new bitmaps to the specified item.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

SetItemText(hItem, sText)

Sets the text of the outline item.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

SetItemValue(hItem, nValue)

Sets the value associated to the outline item.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

SetOutlineRedraw(bState)

Enables or disables drawing.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

SetPicture(nIndex, hPicNormal, hPicSelected)

Changes the normal and selected images for the specified item.

Parameter
Type
Description

Returns: SalNumberarrow-up-right.

SetStyle(nStyle)

Sets the style flags for the control.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

ShowOutline(nLevel)

Expands list items up to the specified level.

Parameter
Type
Description

Returns: SalBooleanarrow-up-right.

Implements

Last updated