PPJ Desktop API
HomeCurrent IssuesDownloads
  • Welcome
  • Concepts
  • PPJ.Runtime.49
    • General
      • Sal
      • Sys
      • SalApplication
      • SalNamedProperties
      • SalWindow
      • WindowActionsEventArgs
      • SalXML
    • COM
      • SalCoClass
      • SalObject
      • SalOleErrorInfo
      • SalSafeArray
      • SalVariant
    • Controls
      • SalActiveX
      • SalBackgroundText
      • SalCheckBox
      • SalComboBox
      • SalContext
      • SalCustomControl
      • SalDataField
        • DataType
      • SalFrame
        • BorderStyle
      • SalGeneralWindow
      • SalGroupBox
      • SalGroupSeparator
      • SalHorizontalScrollBar
      • SalLine
        • LineStyle
        • LineType
      • SalListBox
      • SalMultilineField
      • SalNavigationBar
      • SalOptionButton
        • OptionButtonStyle
      • SalPicture
        • ImageStorage
      • SalPushbutton
      • SalRadioButton
      • SalTableWindow
        • CellType
        • FocusRowStyle
        • RowsSizingStyle
        • SalTableColumn
        • SalTableColumnCollection
        • SalTableRow
        • SalTableRowCollection
        • SalTableWindowBase
      • SalTreeControl
        • SalTreeItem
      • SalUserControl
      • SalVerticalScrollBar
    • Forms
      • AccessoryType
      • SalDialogBox
      • SalForm
      • SalFormClientArea
      • SalFormStatusBar
      • SalFormTableWindow
      • SalFormToolBar
      • SalFormWindow
      • SalMDIWindow
      • SalRibbonBarBase
      • SalRibbonBarForm
      • SalRibbonBarMDI
      • SalRibbonStatusBar
    • Interfaces
      • ISalControl
      • ISalEditControl
      • ISalListControl
      • ISalPictureControl
      • ISalRadioButton
      • ISalReport
      • ISalType
      • ISalAccessory
      • ISalMenu
      • ISalWindow
    • Internet
      • FtpEventArgs
      • FtpEventHandler
      • HttpEventArgs
      • HttpEventHandler
      • SalFtpClient
      • SalHttpClient
      • SalQuickFTP
      • SalQuickHTTP
    • Menus
      • SalContextMenu
      • SalFormMainMenu
      • SalMenuColumn
      • SalMenuItem
      • SalMenuRow
      • SalMenuSeparator
      • SalPopupMenu
      • SalWindowsMenu
    • QO
      • QO
      • SalQuickHTML
      • SalQuickTabs
      • SalQuickTabsDialog
      • SalQuickTabsForm
      • SalQuickTabsParent
      • SalQuickTabsParentDialog
      • SalQuickTabsParentForm
      • SalQuickToolTipCheckBox
      • SalQuickToolTipChildTable
      • SalQuickToolTipComboBox
      • SalQuickToolTipDataField
      • SalQuickToolTipHScrollBar
      • SalQuickToolTipListBox
      • SalQuickToolTipMultilineField
      • SalQuickToolTipOptionButton
      • SalQuickToolTipPicture
      • SalQuickToolTipPushButton
      • SalQuickToolTipRadioButton
      • SalQuickToolTipTableWindow
      • SalQuickToolTipVScrollBar
      • SalToolTipManager
    • Sql
      • SalSqlBindVariables
      • SalSqlError
      • SalSqlHandle
      • SalSqlSessionHandle
      • Sql
      • SqlContext
      • SqlOra
      • WhenSqlError
    • Types
      • SalArray
      • SalArray<T>
      • SalBinary
      • SalBoolean
      • SalDateTime
      • SalFileHandle
      • SalFunctionalClass
      • SalNumber
      • SalResource
      • SalString
      • SalStringContext
      • SalWindowHandle
  • PPJ.Runtime.DDE.49
    • General
      • SalDDE
  • PPJ.Runtime.Vis.49
    • General
      • Vis
      • VisTblEx
    • Controls
      • VisCalendar
      • VisCalendarDropDown
      • VisColorComboBox
      • VisColorListBox
      • VisColorPalette
      • VisColorPaletteBase
      • VisColorPaletteDropDown
      • VisComboBoxBase
      • VisDesktopListBox
      • VisDirListBox
      • VisDirTreeListBox
      • VisDriveListBox
      • VisDropDownBase
      • VisFileListBox
      • VisFontComboBox
      • VisFontListBox
      • VisFontNameComboBox
      • VisFontNameListBox
      • VisListBoxBase
      • VisListBoxExtension
      • VisListView
      • VisListViewDropDown
      • VisMeter
      • VisOutlineComboBox
      • VisOutlineListBox
      • VisPictureComboBox
      • VisPictureListBox
      • VisPoint
      • VisRadioListBox
      • VisRect
      • VisRichEdit
      • VisSize
      • VisSpinField
      • VisSplitter
      • VisSplitterWindow
        • Orientation
  • PPJ.Runtime.XSal.49
    • General
      • XSal
      • XSalScript
    • Controls
      • XSalFlatButton
      • XSalHSplitter
      • XSalSeparator
      • XSalSeparatorDoubleRaised
      • XSalSeparatorEtched
      • XSalSeparatorInvisible
      • XSalSeparatorSingleRaised
      • XSalSplitter
      • XSalToolbar
      • XSalToolbox
      • XSalVSplitter
Powered by GitBook
On this page
  • Constructors
  • VisOutlineListBox()
  • Properties
  • AllowDrag
  • hFont
  • hItem
  • HorizontalScrollbar
  • hPicNormal
  • hPicSelect
  • ImageSize
  • Label
  • NamedProperties
  • nColor
  • nIndex
  • nItemFlags
  • nLevel
  • nStyle
  • nValue
  • SelectedNodes
  • SelectionMode
  • sText
  • UseStateImageList
  • Methods
  • AddColor(text, color)
  • AddColorValue(text, color, value)
  • AddFont(text, hFont)
  • AddFontValue(text, hFont, value)
  • AddListItem(sName)
  • AddPicture(text, picNormal, picSelect)
  • AddPictureValue(text, picNormal, picSelect, value)
  • BringWindowToTop()
  • CenterWindow()
  • Clear()
  • ClearCursor(nType)
  • ClearList()
  • Collapse(index)
  • DeleteChild(index)
  • DeleteDescendents(index)
  • DeleteListItem(nIndex)
  • Demote(index, picNormal, picSelect)
  • DestroyWindow()
  • DisableItem(index, color)
  • DisableWindow()
  • DisableWindowAndLabel()
  • DoDragDrop(sourceIndex, target, targetIndex, dropMode)
  • EnableItem(index, color)
  • EnableWindow()
  • EnableWindowAndLabel()
  • EnumChildren(hItem, hItems)
  • EnumDescendents(hItemParent, hItems)
  • Expand(index)
  • ExpandDescendents(index)
  • FindChild(windowName)
  • FindItemValue(hItem, value)
  • FormUnitsToPixels(formUnits, vertical)
  • FreeChild(hItemChild)
  • FreeDescendents(hItemParent)
  • FromHandle(handle)
  • GetChildNodeCount(hItem, directChildrenOnly)
  • GetClassName()
  • GetColor(index)
  • GetControlType()
  • GetDataType()
  • GetFirstChild(typeMask)
  • GetFlags(index)
  • GetFont(name, size, enhancement)
  • GetFont(index)
  • GetIndexFromPoint(xPos, yPos)
  • GetItemColor(hItem)
  • GetItemData(hItem, text, value, itemFlags)
  • GetItemFlags(hItem)
  • GetItemFont(hItem)
  • GetItemHandle(index)
  • GetItemIndex(hItem)
  • GetItemPicture(hItem, picNormal, picSelect)
  • GetItemText(hItem)
  • GetItemValue(hItem)
  • GetLabel()
  • GetLabelText(sText, nMaxLength)
  • GetLabelText(nMaxLength)
  • GetLevel(hItem)
  • GetListItemsCount()
  • GetListItemState(nIndex)
  • GetListItemText(nIndex, sText)
  • GetListItemText(nIndex)
  • GetListItemTextLength(nIndex)
  • GetListSelectedIndex()
  • GetListSelectedItems(nSelectedArray)
  • GetListSelectedItemsCount()
  • GetLocation(x, y)
  • GetName(text)
  • GetName()
  • GetNextChild(typeMask)
  • GetNextSibling(hItem)
  • GetParent()
  • GetParent(hItem)
  • GetPicture(index, picNormal, picSelect)
  • GetPrevSibling(hItem)
  • GetProperty(name, value)
  • GetProperty(name)
  • GetRoot()
  • GetSize(width, height)
  • GetStyle()
  • GetText(sText, nMaxLen)
  • GetText(nMaxLen)
  • GetTextRectangle(index, top, left, bottom, right)
  • GetWindowColor(colorIndex)
  • GetWindowState()
  • HideWindow()
  • HideWindowAndLabel()
  • InsertColor(index, text, color)
  • InsertColorValue(index, text, color, value)
  • InsertFont(index, text, hFont)
  • InsertFontValue(index, text, hFont, value)
  • InsertListItem(nIndex, sAdd)
  • InsertPicture(index, text, picNormal, picSelect)
  • InsertPictureValue(index, text, picNormal, picSelect, value)
  • InvalidateWindow()
  • IsDerivedFromClass(typeClass)
  • IsEnabled()
  • IsModified()
  • IsVisible()
  • KillTimer(idEvent)
  • LoadChild(hItemParent, picNormal, picSelect, text, value, itemFlags)
  • LoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)
  • LoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)
  • LoadOutline(blob)
  • LoadOutlineFile(fileName, picParentNormal, picParentSelect, picChildNormal, picChildSelect)
  • LoadSibling(hItemBefore, picNormal, picSelect, text, value, itemFlags)
  • MoveDown(index)
  • MoveUp(index)
  • MoveWindow(nXOffset, nYOffset)
  • PixelsToFormUnits(nNumPixels, bVertical)
  • PopulateList(hSql, sSelect)
  • PopulateList(hSql, sSelect, errorHandler)
  • PostMessage(msg, mywParam, mylParam)
  • Promote(index, picNormal, picSelect)
  • SaveOutline(blob)
  • SendMessage(msg, mywParam, mylParam)
  • SendMessageToChildren(nMsg, nMywParam, nMylParam)
  • SetColor(index, color)
  • SetContextMenu(menuName, flags)
  • SetContextMenu(menuType, flags)
  • SetCursor(resource, type)
  • SetCursor(resourceId, type)
  • SetCursor(blob, type)
  • SetCursorFile(file, type)
  • SetFlags(index, flags, state)
  • SetFocus()
  • SetFont(name, size, enhancement)
  • SetFont(index, hFont)
  • SetIndent(width)
  • SetItemColor(hItem, color)
  • SetItemData(hItem, text, value, itemFlags)
  • SetItemFlags(hItem, flags, state)
  • SetItemFont(hItem, hFont)
  • SetItemPicture(hItem, picNormal, picSelect)
  • SetItemText(hItem, text)
  • SetItemValue(hItem, value)
  • SetLabelText(sText)
  • SetListRedraw(bRedraw)
  • SetListSelectedIndex(nIndex)
  • SetListSelectedItems(nIndex, bSelect)
  • SetListSelectedText(nIndexStart, sText)
  • SetLocation(x, y)
  • SetModified(bSet)
  • SetOutlineRedraw(state)
  • SetPicture(index, picNormal, picSelect)
  • SetProperty(name, value, length)
  • SetSelected(node, selected)
  • SetSize(width, height)
  • SetStyle(style)
  • SetText(text)
  • SetTimer(idEvent, elapseMilliSec)
  • SetWindowColor(nColorIndex, nColor)
  • ShowOutline(level)
  • ShowWindow()
  • ShowWindowAndLabel()
  • TrackPopupMenu(menuName, flags, x, y)
  • TrackPopupMenu(menuType, nFlags, nX, nY)
  • UpdateWindow()
  • WinHelp(file, command, numData, strData)
  • Yield()
  • Events
  • MessageActions
  • WindowActions
  • Inherited By
  • Implements
  1. PPJ.Runtime.Vis.49
  2. Controls

VisOutlineListBox

PPJ.Runtime.Vis.VisOutlineListBox

PreviousVisOutlineComboBoxNextVisPictureComboBox

Last updated 2 years ago

Namespace: PPJ.Runtime.Vis

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

public class VisOutlineListBox : TreeView, ISalWindow, ISalControl, ISalListControl
Public Class VisOutlineListBox
    Inherits TreeView
    Implements ISalWindow, ISalControl, ISalListControl

Constructors

VisOutlineListBox()

Default Constructor.

Properties

AllowDrag

: Enabled/Disables automatic drag operations. (Default: True)

hFont

: Multiple Inheritance: Wrapper property.

hItem

: Multiple Inheritance: Wrapper property.

Methods

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

Parameter
Type
Description

text

color

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

Parameter
Type
Description

text

color

value

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

Parameter
Type
Description

text

hFont

Adds a new item with the specified font and value.

Parameter
Type
Description

text

hFont

value

Adds a string to a list box or combo box.

Parameter
Type
Description

sName

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

Parameter
Type
Description

text

picNormal

picSelect

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.

Parameter
Type
Description

text

picNormal

picSelect

value

Brings a window to the top of all overlapping windows.

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.

Clears the value from a data field, multi line field, or table window column.

Clears a window's cursor.

Parameter
Type
Description

nType

Deletes all entries from a list box or combo box.

Collapses all descendant items.

Parameter
Type
Description

index

Deletes the child item from the tree control.

Parameter
Type
Description

index

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

Parameter
Type
Description

index

Deletes a list box or combo box entry.

Parameter
Type
Description

nIndex

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

index

picNormal

picSelect

Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.

Disables the specified item.

Parameter
Type
Description

index

color

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.

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.

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

Parameter
Type
Description

sourceIndex

target

targetIndex

dropMode

Enables the specified item.

Parameter
Type
Description

index

color

Enables keyboard and mouse input to a window.

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.

Enumerates child item handles for a specified item.

Parameter
Type
Description

hItem

hItems

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

Parameter
Type
Description

hItemParent

hItems

Expands an outline one level at the index specified.

Parameter
Type
Description

index

Displays all descendants of an item.

Parameter
Type
Description

index

This function finds a child window of a given name in the specified window.

Parameter
Type
Description

windowName

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

Parameter
Type
Description

hItem

value

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.

Parameter
Type
Description

formUnits

The number of form units.

vertical

If the form units are on the X axis, set this parameter to FALSE. If the form units are on the Y axis, set this parameter to TRUE.

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

Parameter
Type
Description

hItemChild

Frees memory for all descendants of the item specified.

Parameter
Type
Description

hItemParent

Returns the control associated with the handle.

Parameter
Type
Description

handle

Gets the number of children for a specified item.

Parameter
Type
Description

hItem

directChildrenOnly

Return the name of a window's class as a string.

Returns the current color of the list item.

Parameter
Type
Description

index

Returns an object's type.

Returns a data field's or table window column's data type.

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.

Parameter
Type
Description

typeMask

One or more window types combined (using the OR (|) operator) to create a mask of child window types.

Returns the item's flags.

Parameter
Type
Description

index

Parameter
Type
Description

name

size

enhancement

Returns the current font of the list control item.

Parameter
Type
Description

index

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

Parameter
Type
Description

xPos

yPos

Retrieves the color associated with an outline item.

Parameter
Type
Description

hItem

Parameter
Type
Description

hItem

text

value

itemFlags

Returns the items's flags.

Parameter
Type
Description

hItem

Retrieves the font associated with an outline item.

Parameter
Type
Description

hItem

Retrieves the item handle based on an index specified.

Parameter
Type
Description

index

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

Parameter
Type
Description

hItem

Parameter
Type
Description

hItem

picNormal

picSelect

Returns the text for the outline item.

Parameter
Type
Description

hItem

Returns the value saved with the outline item.

Parameter
Type
Description

hItem

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.

Parameter
Type
Description

sText

nMaxLength

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.

Parameter
Type
Description

nMaxLength

Returns the indentation level of the specified item.

Parameter
Type
Description

hItem

Returns the number of list box or combo box entries.

Determines whether the specified list box or combo box entry is selected.

Parameter
Type
Description

nIndex

Parameter
Type
Description

nIndex

sText

Returns the text of the specified item.

Parameter
Type
Description

nIndex

Returns the length of a list box or combo box entry.

Parameter
Type
Description

nIndex

Returns the index of the selected entry in a combo box or single-selection list box.

Returns an array of index numbers of selected list box entries.

Parameter
Type
Description

nSelectedArray

Returns the number of selected entries in a multiple-selection list box. Specify single- or multiple-selection in the list box's customizer.

Parameter
Type
Description

x

y

Parameter
Type
Description

text

Gets the name of an object.

Returns the handle of the next child window that matches a specified type.

Parameter
Type
Description

typeMask

One or more window types combined (using the OR (|) operator) to create a mask of child window types.

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

Parameter
Type
Description

hItem

Returns the handle of an object's parent window.

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

Parameter
Type
Description

hItem

Parameter
Type
Description

index

picNormal

picSelect

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

Parameter
Type
Description

hItem

Parameter
Type
Description

name

value

Gets the value of a named property.

Parameter
Type
Description

name

Returns the handle for the root node.

Parameter
Type
Description

width

height

Returns the style flags for the control.

Parameter
Type
Description

sText

nMaxLen

Retrieves the text of a window.

Parameter
Type
Description

nMaxLen

Parameter
Type
Description

index

top

left

bottom

right

Gets a window's color.

Parameter
Type
Description

colorIndex

Returns a window's current state.

Hides a window.

Hides a window and its associated label.

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

Parameter
Type
Description

index

text

color

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.

Parameter
Type
Description

index

text

color

value

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

Parameter
Type
Description

index

text

hFont

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

Parameter
Type
Description

index

text

hFont

value

Inserts an entry into a list box or combo box at a specified position.

Parameter
Type
Description

nIndex

sAdd

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

Parameter
Type
Description

index

text

picNormal

picSelect

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

index

text

picNormal

picSelect

value

Causes a window to be repainted.

Determines whether a window is an instance of the specified class.

Parameter
Type
Description

typeClass

Determines whether a window is enabled for mouse and keyboard input.

Returns the setting of the Field Edit Flag for a data field, multi line field, combo box, table window's context row cell, or picture.

Determines whether a window is currently visible.

Destroys an object's system timer.

Parameter
Type
Description

idEvent

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

Parameter
Type
Description

hItemParent

picNormal

picSelect

text

value

itemFlags

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

Parameter
Type
Description

hItemParent

picNormal

picSelect

text

values

itemFlags

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

Parameter
Type
Description

hItemParent

picNormal

picSelect

text

values

itemFlags

Deserializes the entire outline tree from the specified string.

Parameter
Type
Description

blob

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

Parameter
Type
Description

fileName

picParentNormal

picParentSelect

picChildNormal

picChildSelect

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

Parameter
Type
Description

hItemBefore

picNormal

picSelect

text

value

itemFlags

Moves the specified item down one position in the tree.

Parameter
Type
Description

index

Moves an item and its descendants up in the list.

Parameter
Type
Description

index

Moves a window a given number of form units on the X and Y axes relative to its current position.

Parameter
Type
Description

nXOffset

nYOffset

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.

Parameter
Type
Description

nNumPixels

bVertical

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.

Parameter
Type
Description

hSql

sSelect

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.

Parameter
Type
Description

hSql

sSelect

errorHandler

Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.

Parameter
Type
Description

msg

mywParam

mylParam

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

Parameter
Type
Description

index

picNormal

picSelect

Parameter
Type
Description

blob

Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.

Parameter
Type
Description

msg

mywParam

mylParam

Sends a message to all child items of a form window, dialog box, table window, or MDI window.

Parameter
Type
Description

nMsg

nMywParam

nMylParam

Sets the color of a list item.

Parameter
Type
Description

index

color

Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.

Parameter
Type
Description

menuName

flags

Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.

Parameter
Type
Description

menuType

flags

Sets a window's cursor.

Parameter
Type
Description

resource

type

Sets a window's cursor.

Parameter
Type
Description

resourceId

type

Sets a window's cursor from a string variable.

Parameter
Type
Description

blob

type

Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.

Parameter
Type
Description

file

type

Sets the item's flags.

Parameter
Type
Description

index

flags

state

Sets the focus to a specified window.

Sets a window's font, font size, and font enhancements.

Parameter
Type
Description

name

size

enhancement

Sets the font of the list control item.

Parameter
Type
Description

index

hFont

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

Parameter
Type
Description

width

Sets the color of the outline item.

Parameter
Type
Description

hItem

color

Updates the specified item.

Parameter
Type
Description

hItem

text

value

itemFlags

Sets the item's flags.

Parameter
Type
Description

hItem

flags

state

Sets the font of the outline item.

Parameter
Type
Description

hItem

hFont

Assigns new bitmaps to the specified item.

Parameter
Type
Description

hItem

picNormal

picSelect

Sets the text of the outline item.

Parameter
Type
Description

hItem

text

Sets the value associated to the outline item.

Parameter
Type
Description

hItem

value

Sets the text of the associated label control.

Parameter
Type
Description

sText

Redraws entries in a list box or combo box, or prevents them from being redrawn.

Parameter
Type
Description

bRedraw

Selects or deselects a combo box or single-selection list box entry.

Parameter
Type
Description

nIndex

Selects or deselects a combo box or multiple-selection list box entry.

Parameter
Type
Description

nIndex

bSelect

Finds and selects a combo box or single-selection list box entry.

Parameter
Type
Description

nIndexStart

sText

Moves a window to a new position (x, y) on the X and Y axes.

Parameter
Type
Description

x

y

Sets or clears the field edit flag for an editable data field, combo box, multi line text field, table window column, or picture.

Parameter
Type
Description

bSet

Enables or disables drawing.

Parameter
Type
Description

state

Changes the normal and selected images for the specified item.

Parameter
Type
Description

index

picNormal

picSelect

Sets the value of a named property.

Parameter
Type
Description

name

value

length

Selects/Deselects the specified node.

Parameter
Type
Description

node

selected

Resizes a window.

Parameter
Type
Description

width

height

Sets the style flags for the control.

Parameter
Type
Description

style

Sets the text of a window.

Parameter
Type
Description

text

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.

Parameter
Type
Description

idEvent

elapseMilliSec

Sets a window's color.

Parameter
Type
Description

nColorIndex

nColor

Expands list items up to the specified level.

Parameter
Type
Description

level

Makes a window visible.

Makes a window and its associated label visible. A label is the label control that immediately precedes the window in the outline.

Creates pop-up menus at runtime.

Parameter
Type
Description

menuName

flags

x

y

Creates pop-up menus at runtime.

Parameter
Type
Description

menuType

nFlags

nX

nY

Forces the update of a window.

Starts the Windows help system.

Parameter
Type
Description

file

command

numData

strData

Processes messages for this control.

Events

Inherited By

Name
Description

Displays directory tree in a list box similar to Win95

Displays directory tree outline in a list box.

Implements

Name
Description

HorizontalScrollbar

: Shows/Hides the horizontal scrollbar. Supported starting from Common Controls v. 5.80 (Default: True)

hPicNormal

: Multiple Inheritance: Wrapper property.

hPicSelect

: Multiple Inheritance: Wrapper property.

ImageSize

: Gets or sets the default size for the node images. (Default: "16, 16")

Label

: Returns/Sets the label associated with this control.

NamedProperties

: Returns the collection of named properties.

nColor

: Multiple Inheritance: Wrapper property.

nIndex

: Multiple Inheritance: Wrapper property.

nItemFlags

: Multiple Inheritance: Wrapper property.

nLevel

: Multiple Inheritance: Wrapper property.

nStyle

: Multiple Inheritance: Wrapper property.

nValue

: Multiple Inheritance: Wrapper property.

SelectedNodes

: Returns the collection of all selected nodes.

SelectionMode

: Returns/Sets the selection mode. (Default: One)

sText

: Multiple Inheritance: Wrapper property.

UseStateImageList

: Determines whether the control uses the StateImageList or the default ImageList to render the node images. When using the StateImageList, nodes without a specific image are left aligned without any icon. When using the default ImageList, nodes without an image show the default first image in the list.

AddColor(text, color)

Returns: .

AddColorValue(text, color, value)

Returns: .

AddFont(text, hFont)

Returns: .

AddFontValue(text, hFont, value)

Returns: .

AddListItem(sName)

Returns: .

AddPicture(text, picNormal, picSelect)

Returns: .

AddPictureValue(text, picNormal, picSelect, value)

Returns: .

BringWindowToTop()

Returns: .

CenterWindow()

Returns: .

Clear()

Returns: .

ClearCursor(nType)

Returns: .

ClearList()

Returns: .

Collapse(index)

Returns: .

DeleteChild(index)

Returns: .

DeleteDescendents(index)

Returns: .

DeleteListItem(nIndex)

Returns: .

Demote(index, picNormal, picSelect)

Returns: .

DestroyWindow()

Returns: .

DisableItem(index, color)

Returns: .

DisableWindow()

Returns: .

DisableWindowAndLabel()

Returns: .

DoDragDrop(sourceIndex, target, targetIndex, dropMode)

Returns: .

EnableItem(index, color)

Returns: .

EnableWindow()

Returns: .

EnableWindowAndLabel()

Returns: .

EnumChildren(hItem, hItems)

Returns: .

EnumDescendents(hItemParent, hItems)

Returns: .

Expand(index)

Returns: .

ExpandDescendents(index)

Returns: .

FindChild(windowName)

Returns: .

FindItemValue(hItem, value)

Returns: .

FormUnitsToPixels(formUnits, vertical)

Returns: .

FreeChild(hItemChild)

Returns: .

FreeDescendents(hItemParent)

Returns: .

FromHandle(handle)

Returns: .

GetChildNodeCount(hItem, directChildrenOnly)

Returns: .

GetClassName()

Returns: .

GetColor(index)

Returns: .

GetControlType()

Returns: .

GetDataType()

Returns: .

GetFirstChild(typeMask)

Returns: .

GetFlags(index)

Returns: .

GetFont(name, size, enhancement)

Returns: .

GetFont(index)

Returns: .

GetIndexFromPoint(xPos, yPos)

Returns: .

GetItemColor(hItem)

Returns: .

GetItemData(hItem, text, value, itemFlags)

Returns: .

GetItemFlags(hItem)

Returns: .

GetItemFont(hItem)

Returns: .

GetItemHandle(index)

Returns: .

GetItemIndex(hItem)

Returns: .

GetItemPicture(hItem, picNormal, picSelect)

Returns: .

GetItemText(hItem)

Returns: .

GetItemValue(hItem)

Returns: .

GetLabel()

Returns: .

GetLabelText(sText, nMaxLength)

Returns: .

GetLabelText(nMaxLength)

Returns: .

GetLevel(hItem)

Returns: .

GetListItemsCount()

Returns: .

GetListItemState(nIndex)

Returns: .

GetListItemText(nIndex, sText)

Returns: .

GetListItemText(nIndex)

Returns: .

GetListItemTextLength(nIndex)

Returns: .

GetListSelectedIndex()

Returns: .

GetListSelectedItems(nSelectedArray)

Returns: .

GetListSelectedItemsCount()

Returns: .

GetLocation(x, y)

Returns: .

GetName(text)

Returns: .

GetName()

Returns: .

GetNextChild(typeMask)

Returns: .

GetNextSibling(hItem)

Returns: .

GetParent()

Returns: .

GetParent(hItem)

Returns: .

GetPicture(index, picNormal, picSelect)

Returns: .

GetPrevSibling(hItem)

Returns: .

GetProperty(name, value)

Returns: .

GetProperty(name)

Returns: .

GetRoot()

Returns: .

GetSize(width, height)

Returns: .

GetStyle()

Returns: .

GetText(sText, nMaxLen)

Returns: .

GetText(nMaxLen)

Returns: .

GetTextRectangle(index, top, left, bottom, right)

Returns: .

GetWindowColor(colorIndex)

Returns: .

GetWindowState()

Returns: .

HideWindow()

Returns: .

HideWindowAndLabel()

Returns: .

InsertColor(index, text, color)

Returns: .

InsertColorValue(index, text, color, value)

Returns: .

InsertFont(index, text, hFont)

Returns: .

InsertFontValue(index, text, hFont, value)

Returns: .

InsertListItem(nIndex, sAdd)

Returns: .

InsertPicture(index, text, picNormal, picSelect)

Returns: .

InsertPictureValue(index, text, picNormal, picSelect, value)

Returns: .

InvalidateWindow()

Returns: .

IsDerivedFromClass(typeClass)

Returns: .

IsEnabled()

Returns: .

IsModified()

Returns: .

IsVisible()

Returns: .

KillTimer(idEvent)

Returns: .

LoadChild(hItemParent, picNormal, picSelect, text, value, itemFlags)

Returns: .

LoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)

Returns: .

LoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)

Returns: .

LoadOutline(blob)

Returns: .

LoadOutlineFile(fileName, picParentNormal, picParentSelect, picChildNormal, picChildSelect)

Returns: .

LoadSibling(hItemBefore, picNormal, picSelect, text, value, itemFlags)

Returns: .

MoveDown(index)

Returns: .

MoveUp(index)

Returns: .

MoveWindow(nXOffset, nYOffset)

Returns: .

PixelsToFormUnits(nNumPixels, bVertical)

Returns: .

PopulateList(hSql, sSelect)

Returns: .

PopulateList(hSql, sSelect, errorHandler)

Returns: .

PostMessage(msg, mywParam, mylParam)

Returns: .

Promote(index, picNormal, picSelect)

Returns: .

SaveOutline(blob)

Returns: .

SendMessage(msg, mywParam, mylParam)

Returns: .

SendMessageToChildren(nMsg, nMywParam, nMylParam)

Returns: .

SetColor(index, color)

Returns: .

SetContextMenu(menuName, flags)

Returns: .

SetContextMenu(menuType, flags)

Returns: .

SetCursor(resource, type)

Returns: .

SetCursor(resourceId, type)

Returns: .

SetCursor(blob, type)

Returns: .

SetCursorFile(file, type)

Returns: .

SetFlags(index, flags, state)

Returns: .

SetFocus()

Returns: .

SetFont(name, size, enhancement)

Returns: .

SetFont(index, hFont)

Returns: .

SetIndent(width)

Returns: .

SetItemColor(hItem, color)

Returns: .

SetItemData(hItem, text, value, itemFlags)

Returns: .

SetItemFlags(hItem, flags, state)

Returns: .

SetItemFont(hItem, hFont)

Returns: .

SetItemPicture(hItem, picNormal, picSelect)

Returns: .

SetItemText(hItem, text)

Returns: .

SetItemValue(hItem, value)

Returns: .

SetLabelText(sText)

Returns: .

SetListRedraw(bRedraw)

Returns: .

SetListSelectedIndex(nIndex)

Returns: .

SetListSelectedItems(nIndex, bSelect)

Returns: .

SetListSelectedText(nIndexStart, sText)

Returns: .

SetLocation(x, y)

Returns: .

SetModified(bSet)

Returns: .

SetOutlineRedraw(state)

Returns: .

SetPicture(index, picNormal, picSelect)

Returns: .

SetProperty(name, value, length)

Returns: .

SetSelected(node, selected)

SetSize(width, height)

Returns: .

SetStyle(style)

Returns: .

SetText(text)

Returns: .

SetTimer(idEvent, elapseMilliSec)

Returns: .

SetWindowColor(nColorIndex, nColor)

Returns: .

ShowOutline(level)

Returns: .

ShowWindow()

Returns: .

ShowWindowAndLabel()

Returns: .

TrackPopupMenu(menuName, flags, x, y)

Returns: .

TrackPopupMenu(menuType, nFlags, nX, nY)

Returns: .

UpdateWindow()

Returns: .

WinHelp(file, command, numData, strData)

Returns: .

Yield()

MessageActions

Message Actions

WindowActions

Window Actions

Boolean
SalNumber
SalNumber
Size
Control
SalNamedProperties
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
TreeNode[]
SelectionMode
SalString
Boolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalNumber
SalNumber
SalNumber
SalBoolean
SalWindowHandle
SalNumber
SalNumber
SalBoolean
SalBoolean
VisOutlineListBox
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalWindowHandle
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalString
SalNumber
SalWindowHandle
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalString
SalWindowHandle
SalNumber
SalWindowHandle
SalNumber
SalNumber
SalNumber
SalBoolean
SalString
SalNumber
SalBoolean
SalNumber
SalNumber
SalString
SalBoolean
SalNumber
SalNumber
SalBoolean
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalNumber
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalMessageHandler
WindowActionsEventHandler
SalString
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalString
SalNumber
SalNumber
SalString
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalWindowHandle
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalArray<SalNumber>
SalNumber
SalArray<SalNumber>
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalWindowHandle
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalString&
SalNumber&
SalNumber&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString&
SalNumber&
SalNumber&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber&
SalNumber&
SalNumber
SalNumber
SalString&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString&
SalNumber
SalNumber
SalArray<SalNumber>
SalNumber&
SalNumber&
SalString&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber&
SalNumber&
SalNumber
SalString
SalString&
SalString
SalNumber&
SalNumber&
SalString&
SalNumber
SalNumber
SalNumber
SalNumber&
SalNumber&
SalNumber&
SalNumber&
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
Type
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalArray<SalString>
SalArray<SalNumber>
SalArray<SalNumber>
SalNumber
SalArray<SalNumber>
SalArray<SalNumber>
SalArray<SalString>
SalArray<SalNumber>
SalArray<SalNumber>
SalString
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalSqlHandle
SalString
SalSqlHandle
SalString
WhenSqlErrorHandler
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
Type
SalNumber
SalResourceCursor
SalNumber
Int32
SalNumber
SalString
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalBoolean
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalBoolean
SalNumber
SalNumber
SalNumber
SalString
SalString
SalNumber
TreeNode
Boolean
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
Type
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
VisDesktopListBox
VisDirTreeListBox
ISalControl
ISalListControl
ISalWindow
Boolean
SalNumber
SalNumber