The VisOutlineListBox type exposes the following members.

Constructors

  NameDescription
Public methodVisOutlineListBox
Default Constructor.

Methods

  NameDescription
Public methodAddColor
Adds an item to the list and displays it in the specified color.
Public methodAddColorValue
Adds an item to the list, displays it in the specified color and associates the specified value with the item.
Public methodAddFont
Adds an item to the list control and displays it in the specified font.
Public methodAddFontValue
Adds a new item with the speicifed font and value.
Public methodAddListItem
Adds a string to a list box or combo box.
Public methodAddPicture
Adds an item to the list control and specified an image for the normal and selected state.
Public methodAddPictureValue
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.
Public methodBringWindowToTop
Brings a window to the top of all overlapping windows.
Public methodCenterWindow
Centers a window. If the window is a top-level window, it centers it on the desktop. If the window is a child window, it centers it on top of its parent.
Public methodClear
Clears the value from a data field, multiline field, or table window column.
Public methodClearCursor
Clears a window's cursor.
Public methodClearList
Deletes all entries from a list box or combo box.
Public methodCollapse
Collapses all descendent items.
Public methodDeleteChild
Deletes the child item from the tree control.
Public methodDeleteDescendents
Deletes all descendants (children, grandchildren, and so on) of the specified child.
Public methodDeleteListItem
Deletes a list box or combo box entry.
Public methodDemote
Moves an item and all descendants right in the outline by making the item become the last child of the previous sibling.
Public methodDestroyWindow
Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.
Public methodDisableItem
Disables the specified item.
Public methodDisableWindow
Disables keyboard and mouse input to a window. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.
Public methodDisableWindowAndLabel
Disables keyboard and mouse input to a window and grays out its associated label. A label is the label control that immediately precedes the window in the outline. The label control must have a mnemonic. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.
Public methodDoDragDrop
Moves the source item to the new location, providing support for dragging tree items.
Public methodDragDrop Obsolete.
Public methodEnableItem
Enables the specified item.
Public methodEnableWindow
Enables keyboard and mouse input to a window.
Public methodEnableWindowAndLabel
Enables keyboard and mouse input to a window and enables its associated label as well. A label is the label control that immediately precedes the window in the outline.
Public methodEnumChildren
Enumerates child item handles for a specified item.
Public methodEnumDescendents
Enumerates descendent (children, grandchildren, and so on) item handles for a specified item.
Public methodExpand
Expands an outline one level at the index specified.
Public methodExpandDescendents
Displays all descendants of an item.
Public methodFindChild
This function finds a child window of a given name in the specified window.
Public methodFindItemValue
Finds the item with the specified value in the descendants of the specified node.
Public methodFormUnitsToPixels
Computes the number of pixels in the number of form units. Form units are a unit of measurement used by functions which move and position objects. Form units are computed using physical units (pixels) in conjunction with the window's font size.
Public methodFreeChild
Frees memory for the item specified and for all its descendants.
Public methodFreeDescendents
Frees memory for all descendants of the item specified.
Public methodStatic memberFromHandle
Returns the control associated with the handle.
Public methodGetClassName
Return the name of a window's class as a string.
Public methodGetColor
Returns the current color of the list item.
Public methodGetControlType
Returns an object's type.
Public methodGetDataType
Returns a data field's or table window column's data type.
Public methodGetFirstChild
Returns the handle of the first child window of the specified type. You can use this function to get the handles of MDI child windows.
Public methodGetFlags
Returns the item's flags.
Public methodGetFont(SalNumber)
Returns the current font of the list control item.
Public methodGetFont(SalString%, SalNumber%, SalNumber%)
Gets a window's font name, size, and enhancements.
Public methodGetIndexFromPoint
Returns the index of the item at the indicated screen coordinates.
Public methodGetItemColor
Retrieves the color associated with an outline item.
Public methodGetItemData
Returns information about the specified item.
Public methodGetItemFlags
Returns the items's flags.
Public methodGetItemFont
Retrieves the font associated with an outline item.
Public methodGetItemHandle
Retrieves the item handle based on an index specified.
Public methodGetItemIndex
Retrieves the index associated with an outline item based on an item handle.
Public methodGetItemPicture
Returns the pictures for the outline item.
Public methodGetItemText
Returns the text for the outline item.
Public methodGetItemValue
Returns the value saved with the outline item.
Public methodGetLabel
Retrieves the window handle of the label (label control) that is associated with the hWndTarget parameter. There must be a mnemonic in that label, and it must immediately precede hWndTarget in the outline, or this function will fail.
Public methodGetLabelText(SalNumber)
Retrieves the text of the label associated to a control. Important: The label control does not require a mnemonic for the functions listed above to operate.
Public methodGetLabelText(SalString%, SalNumber)
Retrieves the text of the label associated to a control. Important: The label control does not require a mnemonic for the functions listed above to operate.
Public methodGetLevel
Returns the indentation level of the specified item.
Public methodGetListItemsCount
Returns the number of list box or combo box entries.
Public methodGetListItemState
Determines whether the specified list box or combo box entry is selected.
Public methodGetListItemText(SalNumber)
Returns the text of the specified item.
Public methodGetListItemText(SalNumber, SalString%)
Returns the text of the specified item.
Public methodGetListItemTextLength
Returns the length of a list box or combo box entry.
Public methodGetListSelectedIndex
Returns the index of the selected entry in a combo box or single-selection list box.
Public methodGetListSelectedItems
Returns an array of index numbers of selected list box entries.
Public methodGetListSelectedItemsCount
Returns the number of selected entries in a multiple-selection list box. Specify single- or multiple-selection in the list box's customizer.
Public methodGetLocation
Returns a window's current position on the X and Y axes.
Public methodGetName()()()()
Gets the name of an object.
Public methodGetName(SalString%)
Gets the name of an object.
Public methodGetNextChild
Returns the handle of the next child window that matches a specified type.
Public methodGetNextSibling
Retrieves the item handle for the next sibling of the specified item.
Public methodGetParent()()()()
Returns the handle of an object's parent window.
Public methodGetParent(SalNumber)
Retrieves the item handle for the parent of the specified item.
Public methodGetPicture
Returns the pictures associated with the item.
Public methodGetPrevSibling
Retrieves the item handle for the previous sibling of the specified item.
Public methodGetProperty(SalString)
Gets the value of a named property.
Public methodGetProperty(SalString, SalString%)
Gets the value of a named property.
Public methodGetRoot
Returns the handle for the root node.
Public methodGetSize
Returns a window's size.
Public methodGetStyle
Returns the style flags for the control.
Public methodGetText(SalNumber)
Retrieves the text of a window.
Public methodGetText(SalString%, SalNumber)
Retrieves the text of a window.
Public methodGetTextRectangle
Returns the rectangle for the specified tree node.
Public methodGetWindowColor
Gets a window's color.
Public methodGetWindowState
Returns a window's current state.
Public methodHideWindow
Hides a window.
Public methodHideWindowAndLabel
Hides a window and its associated label.
Public methodInsertColor
Inserts an item to the list control at the specified position and displays it in the specified color.
Public methodInsertColorValue
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.
Public methodInsertFont
Adds an item to a list control at the specified index and displays it in the specified font.
Public methodInsertFontValue
Adds an item to the list control, displays it in the specified font, and associates the specified value with the item.
Public methodInsertListItem
Inserts an entry into a list box or combo box at a specified position.
Public methodInsertPicture
Inserts an item at the specified postion and specifies an image for the normal and selected state.
Public methodInsertPictureValue
Inserts an item at the specified postion and specifies an image for the normal and selected state, and associates a value to the item.
Public methodInvalidateWindow
Causes a window to be repainted.
Public methodIsDerivedFromClass
Determines whether a window is an instance of the specified class.
Public methodIsEnabled
Determines whether a window is enabled for mouse and keyboard input.
Public methodIsModified
Returns the setting of the Field Edit Flag for a data field, multiline field, combo box, table window's context row cell, or picture.
Public methodIsVisible
Determines whether a window is currently visible.
Public methodKillTimer
Destroys an object's system timer.
Public methodLoadChild
Inserts an item as the last child of the specified parent.
Public methodLoadChildren
Inserts multiple items as the last children of the specified parent item.
Public methodLoadOutline
Deserializes the entire outline tree from the specified string.
Public methodLoadOutlineFile
Loads the serialized outline structure from the file and creates the new items as children of the specified node.
Public methodLoadSibling
Loads a new tree node as a sibling of the specified item.
Public methodMoveDown
Moves the specified item down one position in the tree.
Public methodMoveUp
Moves an item and its descendants up in the list.
Public methodMoveWindow
Moves a window a given number of form units on the X and Y axes relative to its current position.
Protected methodOnAfterSelect (Overrides TreeView..::..OnAfterSelect(TreeViewEventArgs).)
Protected methodOnBeforeSelect (Overrides TreeView..::..OnBeforeSelect(TreeViewCancelEventArgs).)
Protected methodOnDragDrop (Overrides Control..::..OnDragDrop(DragEventArgs).)
Protected methodOnDragLeave (Overrides Control..::..OnDragLeave(EventArgs).)
Protected methodOnItemDrag (Overrides TreeView..::..OnItemDrag(ItemDragEventArgs).)
Protected methodOnKeyDown (Overrides TreeView..::..OnKeyDown(KeyEventArgs).)
Protected methodOnKeyUp (Overrides TreeView..::..OnKeyUp(KeyEventArgs).)
Protected methodOnMouseUp (Overrides Control..::..OnMouseUp(MouseEventArgs).)
Public methodPixelsToFormUnits
Computes the number of form units based on the number of pixels. Form units are a unit of measurement used by functions that move and position objects. Form units are computed using physical units (pixels) in conjunction with a window's font sizes.
Public methodPopulateList(SalSqlHandle, SalString)
Populates a list box or combo box with a result set. SalListPopulate overrides any settings made with SalListSetTabs. If the SELECT statement returns data from multiple columns, each column's data displayed in a list box is separated by tabs. However, due to a Microsoft Windows limitation, each column's data displayed in a combo box is separated by a single '|' character. There is no space between one column's data, the separator character, and another column's data.
Public methodPopulateList(SalSqlHandle, SalString, WhenSqlErrorHandler)
Populates a list box or combo box with a result set. SalListPopulate overrides any settings made with SalListSetTabs. If the SELECT statement returns data from multiple columns, each column's data displayed in a list box is separated by tabs. However, due to a Microsoft Windows limitation, each column's data displayed in a combo box is separated by a single '|' character. There is no space between one column's data, the separator character, and another column's data.
Public methodPostMessage
Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.
Public methodPromote
Moves an item and its descendants left in the outline by making it the last sibling of the parent item.
Public methodSaveOutline
Serializes the entire outline tree into the specified string.
Public methodSendMessage
Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.
Public methodSendMessageToChildren
Sends a message to all child items of a form window, dialog box, table window, or MDI window.
Public methodSetColor
Sets the color of a list item.
Public methodSetContextMenu(Type, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
Public methodSetContextMenu(SalString, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
Public methodSetCursor(Int32, SalNumber)
Sets a window's cursor.
Public methodSetCursor(SalResourceCursor, SalNumber)
Sets a window's cursor.
Public methodSetCursor(SalString, SalNumber)
Sets a window's cursor from a string variable.
Public methodSetCursorFile
Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.
Public methodSetFlags
Sets the item's flags.
Public methodSetFocus
Sets the focus to a specified window.
Public methodSetFont(SalNumber, SalNumber)
Sets the font of the list control item.
Public methodSetFont(SalString, SalNumber, SalNumber)
Sets a window's font, font size, and font enhancements.
Public methodSetIndent
Gets or sets the distance to indent each of the child tree node levels.
Public methodSetItemColor
Sets the color of the outline item.
Public methodSetItemData
Updates the specified item.
Public methodSetItemFlags
Sets the item's flags.
Public methodSetItemFont
Sets the font of the outline item.
Public methodSetItemPicture
Assigns new bitmaps to the specified item.
Public methodSetItemText
Sets the text of the outline item.
Public methodSetItemValue
Sets the value associated to the outline item.
Public methodSetLabelText
Sets the text of the associaetd label control.
Public methodSetListRedraw
Redraws entries in a list box or combo box, or prevents them from being redrawn.
Public methodSetListSelectedIndex
Selects or deselects a combo box or single-selection list box entry.
Public methodSetListSelectedItems
Selects or deselects a combo box or multiple-selection list box entry.
Public methodSetListSelectedText
Finds and selects a combo box or single-selection list box entry.
Public methodSetLocation
Moves a window to a new position (x, y) on the X and Y axes.
Public methodSetModified
Sets or clears the field edit flag for an editable data field, combo box, multiline text field, table window column, or picture.
Public methodSetOutlineRedraw
Enables or disables drawing.
Public methodSetPicture
Changes the normal and selected images for the specified item.
Public methodSetProperty
Sets the value of a named property.
Public methodSetSelected
Selects/Deselects the specified node.
Public methodSetSize
Resizes a window.
Public methodSetStyle
Sets the style flags for the control.
Public methodSetText
Sets the text of a window.
Public methodSetTimer
Creates a system timer for a given object. When a timer event occurs, sends SAM_Timer messages to the object in specified intervals. Timers are a limited global resource. Your application must check the value returned by SalTimerSet to verify that the timer was created.
Public methodSetWindowColor
Sets a window's color.
Protected methodSetVisibleCore (Overrides Control..::..SetVisibleCore(Boolean).)
Public methodShowOutline
Expands list items up to the specified level.
Public methodShowWindow
Makes a window visible.
Public methodShowWindowAndLabel
Makes a window and its associated label visible. A label is the label control that immediately precedes the window in the outline.
Public methodTrackPopupMenu(Type, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
Public methodTrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
Public methodUpdateWindow
Forces the update of a window.
Public methodWinHelp
Starts the Windows help system.
Protected methodWndProc
Redirect Windows message to the implementation object.
(Overrides TreeView..::..WndProc(Message%).)
Public methodYield
Processes messages for this control.

Operators

  NameDescription
Public operatorStatic memberExplicitNarrowingExplicitExplicitExplicit(SalWindowHandle to VisOutlineListBox)
Fully qualified expressions operator.
Public operatorStatic memberImplicitWideningImplicitImplicitImplicit(VisOutlineListBox to VisListBoxExtension)
Multiple Inheritance: Overloaded casting operator.

Fields

  NameDescription
Public field_derived
Instance of the derived object that inherits this class as a second base in a multiple inheritance tree.
Public fieldhWndSource
Public fieldhWndTarget
Public fieldnFlags
Public fieldnIdx
Public fieldnIndexSource
Public fieldnIndexTarget
Public fieldnXPos
Public fieldnYPos

Properties

  NameDescription
Protected propertyCreateParams
Modifies the CreateParams to implement the TVS_NOHSCROLL style.
(Overrides TreeView..::..CreateParams.)
Public propertyDesigntimeVisible
Returns true if the object was designed as visible.
Public propertyhFont
Multiple Inheritance: Wrapper property.
Public propertyhItem
Multiple Inheritance: Wrapper property.
Public propertyHorizontalScrollbar
Shows/Hides the horizontal scrollbar. Supported starting from Common Controls v. 5.80
Public propertyhPicNormal
Multiple Inheritance: Wrapper property.
Public propertyhPicSelect
Multiple Inheritance: Wrapper property.
Public propertyLabel
Returns/Sets the label associated with this control.
Public propertyNamedProperties
Returns the collection of named properties.
Public propertynColor
Multiple Inheritance: Wrapper property.
Public propertynIndex
Multiple Inheritance: Wrapper property.
Public propertynItemFlags
Multiple Inheritance: Wrapper property.
Public propertynLevel
Multiple Inheritance: Wrapper property.
Public propertynStyle
Multiple Inheritance: Wrapper property.
Public propertynValue
Multiple Inheritance: Wrapper property.
Public propertySelectedNodes
Returns the collection of all selected nodes.
Public propertySelectionMode
Returns/Sets the selection mode.
Public propertysText
Multiple Inheritance: Wrapper property.

Events

  NameDescription
Public eventMessageActions

See Also