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
  • SalTreeControl()
  • Properties
  • Label
  • NamedProperties
  • ShowRoot
  • Methods
  • BringWindowToTop()
  • CenterWindow()
  • Clear()
  • ClearCursor(type)
  • CollapseItem(hItem)
  • DeleteItem(hItem)
  • DemoteItem(hItem)
  • DestroyWindow()
  • DisableWindow()
  • DisableWindowAndLabel()
  • EditItem(hItem)
  • EnableItem(hItem, bEnable)
  • EnableWindow()
  • EnableWindowAndLabel()
  • ExpandItem(hItem)
  • FindChild(windowName)
  • FindItemByData(hItem, nData)
  • FindItemByTitle(hItem, sTitle)
  • FireWindowActions(msg, mywParam, mylParam)
  • FormUnitsToPixels(formUnits, vertical)
  • GetClassName()
  • GetControlType()
  • GetDataType()
  • GetFirstChild(typeMask)
  • GetFirstItem(hItem)
  • GetFont(name, size, enhancement)
  • GetItemCount(hItem)
  • GetItemData(hItem)
  • GetItemParent(hItem)
  • GetItemText(hItem)
  • GetItemTooltip(hItem)
  • GetLabel()
  • GetLabelText(sText, nMaxLength)
  • GetLabelText(nMaxLength)
  • GetLocation(x, y)
  • GetName(text)
  • GetName()
  • GetNextChild(typeMask)
  • GetNextItem(hItem)
  • GetParent()
  • GetPrevItem(hItem)
  • GetProperty(name, value)
  • GetProperty(name)
  • GetSelectedItem()
  • GetSize(width, height)
  • GetText(text, maxLen)
  • GetText(maxLen)
  • GetWindowColor(colorIndex)
  • GetWindowState()
  • HideWindow()
  • HideWindowAndLabel()
  • InsertItem(hItem, nIndex, sTitle)
  • InvalidateWindow()
  • IsDerivedFromClass(typeClass)
  • IsEnabled()
  • IsModified()
  • IsVisible()
  • ItemHasCheckBox(hItem)
  • ItemIsChecked(hItem)
  • ItemIsExpanded(hItem)
  • ItemIsSelected(hItem)
  • ItemsHaveCheckBoxes()
  • KillTimer(idEvent)
  • MoveDownItem(hItem)
  • MoveItem(hItem, hParentItem, nPosition)
  • MoveUpItem(hItem)
  • MoveWindow(xOffset, yOffset)
  • PixelsToFormUnits(numPixels, vertical)
  • PostMessage(msg, mywParam, mylParam)
  • PromoteItem(hItem)
  • Reset(bRemove)
  • SendMessage(msg, mywParam, mylParam)
  • SendMessageToChildren(msg, mywParam, mylParam)
  • SetContextMenu(sMenuName, nFlags)
  • SetContextMenu(menuType, flags)
  • SetCursor(resource, type)
  • SetCursor(resourceId, type)
  • SetCursor(blob, type)
  • SetCursorFile(file, type)
  • SetFocus()
  • SetFont(name, size, enhancement)
  • SetItemChecked(hItem, bChecked)
  • SetItemData(hItem, nValue)
  • SetItemEditable(hItem, bEditable)
  • SetItemFontEnh(hItem, nFontEnh)
  • SetItemImage(hItem, bSelected, sImageFile)
  • SetItemImageFromBinary(hItem, bSelected, nFormat, bPicture)
  • SetItemImageFromResource(hItem, bSelected, tResource)
  • SetItemText(hItem, sText)
  • SetItemTextColor(hItem, nColor)
  • SetItemTooltip(hItem, sTooltip)
  • SetLabelText(sText)
  • SetLocation(x, y)
  • SetModified(bSet)
  • SetProperty(name, value, length)
  • SetSelectedItem(hItem)
  • SetSize(width, height)
  • SetText(text)
  • SetTimer(idEvent, elapseMilliSec)
  • SetWindowColor(colorIndex, color)
  • ShowItemCheckBox(hItem, bShow)
  • ShowItemsCheckBoxes(bShow)
  • ShowWindow()
  • ShowWindowAndLabel()
  • TrackPopupMenu(menuName, flags, x, y)
  • TrackPopupMenu(menuType, flags, x, y)
  • UpdateWindow()
  • WinHelp(file, command, numData, strData)
  • Yield()
  • Events
  • MessageActions
  • WindowActions
  • Implements
  1. PPJ.Runtime.49
  2. Controls

SalTreeControl

PPJ.Runtime.Windows.SalTreeControl

PreviousSalTableWindowBaseNextSalTreeItem

Last updated 2 years ago

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Runtime.49 (4.9.0.0)

TreeView implementation.

public class SalTreeControl : TreeView, ISalWindow, ISalControl
Public Class SalTreeControl
    Inherits TreeView
    Implements ISalWindow, ISalControl

Constructors

SalTreeControl()

Constructs a SalTreeControl object.

Properties

Label

: Returns/Sets the label associated with this control.

NamedProperties

: Returns the collection of named properties.

ShowRoot

Methods

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

type

Collapse a tree item. If the tree item handle is 0, then the top level tree items of the tree control are collapsed.

Parameter
Type
Description

hItem

Handle to the tree item.

Removes a tree item from a tree control. All child items of the tree item are also removed.

Parameter
Type
Description

hItem

Handle to the tree item.

Moves a tree item so it becomes the child of its previous sibling. This function will fail if the tree item has no previous sibling.

Parameter
Type
Description

hItem

Handle to the tree item.

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

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.

Allows the user to edit the value of the tree item's label. SAM_Validate is sent to the tree control when the edit control loses focus with wParam indicating the handle to the tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

Enables the tree item when bEnable is true, disables the tree item when bEnable is false.

Parameter
Type
Description

hItem

Handle to the tree item.

bEnable

Set to TRUE to enable the item. Set to FALSE to disable the item.

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.

Expand a tree item. If the tree item handle is 0, then the top level tree items of the tree control are expanded.

Parameter
Type
Description

hItem

Handle to the tree item.

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

Parameter
Type
Description

windowName

Finds a tree item by its Object Data. Returns 0 if not found. Searches the child items of the tree item handle argument(hItem). If the handle is 0, searches the top level tree items.

Parameter
Type
Description

hItem

Handle to the tree item.

nData

Data of the item to find.

Finds a tree item by its object title. Returns 0 if not found. Searches the child items of the tree item handle argument. If the handle is 0, searches the top level tree items.

Parameter
Type
Description

hItem

Handle to the tree item.

sTitle

Title of the item to find.

Dispatches the specified message (Window Actions) directly to the control's WindowActions event handlers, without going through Windows message loop.

Parameter
Type
Description

msg

mywParam

mylParam

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.

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

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.

Gets the first child tree item of the passed tree item handle. Returns 0 if not found. If the handle is 0, returns the first child of the tree control.

Parameter
Type
Description

hItem

Handle to the tree item.

Parameter
Type
Description

name

size

enhancement

Gets the number of child items. If the handle argument is 0, then number of first level child items is returned.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns the numeric value assigned to the tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns the handle of hItem's parent, or 0 if hItem is a top level child of the tree control.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns the string title of the item.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns the current tooltip for the tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

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

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.

Gets the next sibling tree item of the passed tree item handle. Returns 0 if there are no more sibling tree items.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns the handle of an object's parent window.

Gets the previous sibling tree item of the passed tree item handle. Returns 0 if there are no more sibling items.

Parameter
Type
Description

hItem

Handle to the tree item.

Parameter
Type
Description

name

value

Gets the value of a named property.

Parameter
Type
Description

name

Returns the handle to the selected tree item, or 0 if no item is selected.

Parameter
Type
Description

width

height

Parameter
Type
Description

text

maxLen

Retrieves the text of a window.

Parameter
Type
Description

maxLen

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 a tree item into the tree control. The new item will be a child of hItem . If hItem is 0, the tree item is added as a top level child of the tree control. If nIndex is greater than or equal to the number of child items, or if nIndex is less than zero, the new item is appended.

Parameter
Type
Description

hItem

Handle of the tree item which will be the parent of the new item.

nIndex

Index to insert (starting at zero).

sTitle

Title of the new item.

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.

Returns true if the tree item has a checkbox displayed.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns true if the item checkbox is checked. Returns false if the checkbox is not displayed.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns whether the item is expanded.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns whether the item is selected.

Parameter
Type
Description

hItem

Handle to the tree item.

Returns true if the tree shows checkboxes next to the items.

Destroys an object's system timer.

Parameter
Type
Description

idEvent

Moves a tree item downward. This functions fails if the tree item is the last child of its parent.

Parameter
Type
Description

hItem

Handle to the tree item.

Moves a tree node and all its sub-nodes to a new location in the tree control.

Parameter
Type
Description

hItem

Handle to the tree item.

hParentItem

Handle to the new parent tree item.

nPosition

Position in the new parents list of children to place the new child (0-n).

Moves a tree item upward . This functions fails if the tree item is the first child of its parent.

Parameter
Type
Description

hItem

Handle to the tree item.

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

Parameter
Type
Description

xOffset

yOffset

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

numPixels

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.

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

Parameter
Type
Description

msg

mywParam

mylParam

Moves a tree item so it becomes the sibling of its parent. This functions fails if the tree item has no grandparent.

Parameter
Type
Description

hItem

Handle to the tree item.

Clears a tree control with the option to retain or destroy design-time nodes.

Parameter
Type
Description

bRemove

TRUE = Remove all nodes. FALSE = Remove nodes created dynamically; the tree goes back to the initial state.

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

msg

mywParam

mylParam

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

Parameter
Type
Description

sMenuName

nFlags

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 focus to a specified window.

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

Parameter
Type
Description

name

size

enhancement

Sets or clears the checkbox. If the checkbox is not displayed, this function has no effect.

Parameter
Type
Description

hItem

Handle to the tree item.

bChecked

TRUE to set the box as checked, FALSE to clear the checkbox.

Sets the numeric value of the tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

nValue

Value to set.

Sets whether the tree item's label can be edited. If bEditable is true, the label can be edited.

Parameter
Type
Description

hItem

Handle to the tree item.

bEditable

Whether to enable or disable editing.

Sets the font enhancement for a tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

nFontEnh

Sets the image of a tree item. If the bSelected parameter is true, the selected image is set; otherwise the non-selected image is set.

Parameter
Type
Description

hItem

Handle to the tree item.

bSelected

If TRUE, use selected image. If FALSE, use non-selected image.

sImageFile

Filename of the image.

Sets the image of a tree item. If the bSelected parameter is true, the selected image is set; otherwise the non-selected image is set.

Parameter
Type
Description

hItem

Handle to the tree item.

bSelected

If TRUE, use selected image. If FALSE, use non-selected image.

nFormat

bPicture

The image data to be assigned to the tree node.

Sets the image of a tree item. If the bSelected parameter is true, the selected image is set; otherwise the non-selected image is set.

Parameter
Type
Description

hItem

Handle to the tree item.

bSelected

If TRUE, use selected image. If FALSE, use non-selected image.

tResource

Resource object.

Sets the title of the item.

Parameter
Type
Description

hItem

Handle to the tree item.

sText

Text to set as the title for this tree item.

Sets the text color of the tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

nColor

Color to set.

Sets the tooltip for the tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

sTooltip

Tooltip text.

Sets the text of the associated label control.

Parameter
Type
Description

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

Sets the value of a named property.

Parameter
Type
Description

name

value

length

Selects a tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

Resizes a window.

Parameter
Type
Description

width

height

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

colorIndex

color

Shows or hides the checkbox for a tree item.

Parameter
Type
Description

hItem

Handle to the tree item.

bShow

TRUE to show the checkbox, FALSE to hide it.

Shows or hides the checkboxes for the tree control.

Parameter
Type
Description

bShow

TRUE to show the checkboxes, FALSE to hide it.

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

flags

x

y

Forces the update of a window.

Starts the Windows help system.

Parameter
Type
Description

file

command

numData

strData

Processes messages for this control.

Events

Implements

Name
Description

All SAL controls implement this interface.

All Sal windows (Child windows, Forms, Dialogs and MDIs) implement this interface.

: Shows the root node.

BringWindowToTop()

Returns: .

CenterWindow()

Returns: .

Clear()

Returns: .

ClearCursor(type)

Returns: .

CollapseItem(hItem)

Returns: . TRUE if the function succeeds and FALSE if it fails.

DeleteItem(hItem)

Returns: . TRUE if the item was deleted successfully.

DemoteItem(hItem)

Returns: . TRUE if the function succeeds and FALSE if it fails.

DestroyWindow()

Returns: .

DisableWindow()

Returns: .

DisableWindowAndLabel()

Returns: .

EditItem(hItem)

Returns: . TRUE if edit has been activated.

EnableItem(hItem, bEnable)

Returns: . previous state of the item before this function was called. TRUE if it was enabled, FALSE if it was disabled.

EnableWindow()

Returns: .

EnableWindowAndLabel()

Returns: .

ExpandItem(hItem)

Returns: . TRUE if the function succeeds and FALSE if it fails.

FindChild(windowName)

Returns: .

FindItemByData(hItem, nData)

Returns: . Handle of the tree item whose Data matches the nData parameter.

FindItemByTitle(hItem, sTitle)

Returns: . Handle of the item whose title matches the sTitle parameter.

FireWindowActions(msg, mywParam, mylParam)

Returns: .

FormUnitsToPixels(formUnits, vertical)

Returns: .

GetClassName()

Returns: .

GetControlType()

Returns: .

GetDataType()

Returns: .

GetFirstChild(typeMask)

Returns: .

GetFirstItem(hItem)

Returns: . Handle of the tree item.

GetFont(name, size, enhancement)

Returns: .

GetItemCount(hItem)

Returns: . Number of items.

GetItemData(hItem)

Returns: . Numeric value assigned to the tree item.

GetItemParent(hItem)

Returns: . Handle of hItem's parent.

GetItemText(hItem)

Returns: . String title of the item.

GetItemTooltip(hItem)

Returns: . Current tooltip for the tree item.

GetLabel()

Returns: .

GetLabelText(sText, nMaxLength)

Returns: .

GetLabelText(nMaxLength)

Returns: .

GetLocation(x, y)

Returns: .

GetName(text)

Returns: .

GetName()

Returns: .

GetNextChild(typeMask)

Returns: .

GetNextItem(hItem)

Returns: . Handle of the next tree item.

GetParent()

Returns: .

GetPrevItem(hItem)

Returns: . Handle of the previous tree item.

GetProperty(name, value)

Returns: .

GetProperty(name)

Returns: .

GetSelectedItem()

Returns: . Handle to the selected tree item, or 0 if no item is selected.

GetSize(width, height)

Returns: .

GetText(text, maxLen)

Returns: .

GetText(maxLen)

Returns: .

GetWindowColor(colorIndex)

Returns: .

GetWindowState()

Returns: .

HideWindow()

Returns: .

HideWindowAndLabel()

Returns: .

InsertItem(hItem, nIndex, sTitle)

Returns: . Handle of the newly created item.

InvalidateWindow()

Returns: .

IsDerivedFromClass(typeClass)

Returns: .

IsEnabled()

Returns: .

IsModified()

Returns: .

IsVisible()

Returns: .

ItemHasCheckBox(hItem)

Returns: . TRUE if the item has a checkbox displayed, FALSE if not.

ItemIsChecked(hItem)

Returns: . TRUE if the checkbox is checked. If the checkbox is not checked, or is not displayed, bIsChecked is FALSE.

ItemIsExpanded(hItem)

Returns: . TRUE if the item is expanded, FALSE if not.

ItemIsSelected(hItem)

Returns: . TRUE if the item is selected, FALSE if not.

ItemsHaveCheckBoxes()

Returns: . TRUE if the items have a checkbox displayed, FALSE if not.

KillTimer(idEvent)

Returns: .

MoveDownItem(hItem)

Returns: . TRUE if the function succeeds and FALSE if it fails.

MoveItem(hItem, hParentItem, nPosition)

Returns: . TRUE if the function succeeds and FALSE if it fails.

MoveUpItem(hItem)

Returns: . TRUE if the function succeeds and FALSE if it fails.

MoveWindow(xOffset, yOffset)

Returns: .

PixelsToFormUnits(numPixels, vertical)

Returns: .

PostMessage(msg, mywParam, mylParam)

Returns: .

PromoteItem(hItem)

Returns: . TRUE if the function succeeds and FALSE if it fails.

Reset(bRemove)

Returns: . TRUE if the function succeeds and FALSE if it does not succeed.

SendMessage(msg, mywParam, mylParam)

Returns: .

SendMessageToChildren(msg, mywParam, mylParam)

Returns: .

SetContextMenu(sMenuName, nFlags)

Returns: .

SetContextMenu(menuType, flags)

Returns: .

SetCursor(resource, type)

Returns: .

SetCursor(resourceId, type)

Returns: .

SetCursor(blob, type)

Returns: .

SetCursorFile(file, type)

Returns: .

SetFocus()

Returns: .

SetFont(name, size, enhancement)

Returns: .

SetItemChecked(hItem, bChecked)

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetItemData(hItem, nValue)

Returns: . Value that was previously assigned to the tree item.

SetItemEditable(hItem, bEditable)

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetItemFontEnh(hItem, nFontEnh)

Font mask. Combine the following: , , , , .

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetItemImage(hItem, bSelected, sImageFile)

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetItemImageFromBinary(hItem, bSelected, nFormat, bPicture)

The format of the picture contents: , ,

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetItemImageFromResource(hItem, bSelected, tResource)

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetItemText(hItem, sText)

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetItemTextColor(hItem, nColor)

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetItemTooltip(hItem, sTooltip)

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetLabelText(sText)

Returns: .

SetLocation(x, y)

Returns: .

SetModified(bSet)

Returns: .

SetProperty(name, value, length)

Returns: .

SetSelectedItem(hItem)

Returns: . TRUE if the function succeeds and FALSE if it fails.

SetSize(width, height)

Returns: .

SetText(text)

Returns: .

SetTimer(idEvent, elapseMilliSec)

Returns: .

SetWindowColor(colorIndex, color)

Returns: .

ShowItemCheckBox(hItem, bShow)

Returns: . TRUE if the function succeeds and FALSE if it fails.

ShowItemsCheckBoxes(bShow)

Returns: . TRUE if the function succeeds and FALSE if it fails.

ShowWindow()

Returns: .

ShowWindowAndLabel()

Returns: .

TrackPopupMenu(menuName, flags, x, y)

Returns: .

TrackPopupMenu(menuType, flags, x, y)

Returns: .

UpdateWindow()

Returns: .

WinHelp(file, command, numData, strData)

Returns: .

Yield()

MessageActions

Message Actions

WindowActions

Window Actions

Boolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalWindowHandle
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalString
SalString
SalWindowHandle
SalNumber
SalString
SalBoolean
SalBoolean
SalString
SalWindowHandle
SalNumber
SalWindowHandle
SalNumber
SalBoolean
SalString
SalNumber
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalWindowHandle
SalBoolean
SalBoolean
SalNumber
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalBoolean
SalMessageHandler
WindowActionsEventHandler
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalString&
SalNumber&
SalNumber&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString&
SalNumber
SalNumber
SalNumber&
SalNumber&
SalString&
SalNumber
SalNumber
SalNumber
SalString
SalString&
SalString
SalNumber&
SalNumber&
SalString&
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
Type
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
Type
SalNumber
SalResourceCursor
SalNumber
Int32
SalNumber
SalString
SalNumber
SalString
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
SalNumber
SalBoolean
SalNumber
SalNumber
FONT_EnhDefault
FONT_EnhNormal
FONT_EnhItalic
FONT_EnhUnderline
FONT_EnhBold
SalNumber
SalBoolean
SalString
SalNumber
SalBoolean
SalNumber
PIC_FormatBitmap
PIC_FormatIcon
PIC_FormatObject
SalBinary
SalNumber
SalBoolean
SalResource
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalString
SalString
SalNumber
SalNumber
SalBoolean
SalString
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalNumber
SalNumber
SalNumber
SalBoolean
SalBoolean
SalString
SalNumber
SalNumber
SalNumber
Type
SalNumber
SalNumber
SalNumber
SalString
SalNumber
SalNumber
SalString
ISalControl
ISalWindow
Control
SalNamedProperties