Skip to main content

VisOutlineListBox

Namespace: PPJ.Runtime.Vis

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

public class VisOutlineListBox : TreeView, ISalWindow, ISalControl, ISalListControl

Constructors

Instance memberVisOutlineListBox()

Default Constructor.

Properties

Instance memberAllowDrag

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

Instance memberhFont

SalNumber: Multiple Inheritance: Wrapper property.

Instance memberhItem

SalNumber: Multiple Inheritance: Wrapper property.

Instance memberHorizontalScrollbar

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

Instance memberhPicNormal

SalNumber: Multiple Inheritance: Wrapper property.

Instance memberhPicSelect

SalNumber: Multiple Inheritance: Wrapper property.

Instance memberImageSize

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

Instance memberLabel

Control: Returns/Sets the label associated with this control.

Instance memberNamedProperties

SalNamedProperties: Returns the collection of named properties.

Instance membernColor

SalNumber: Multiple Inheritance: Wrapper property.

Instance membernIndex

SalNumber: Multiple Inheritance: Wrapper property.

Instance membernItemFlags

SalNumber: Multiple Inheritance: Wrapper property.

Instance membernLevel

SalNumber: Multiple Inheritance: Wrapper property.

Instance membernStyle

SalNumber: Multiple Inheritance: Wrapper property.

Instance membernValue

SalNumber: Multiple Inheritance: Wrapper property.

Instance memberSelectedNodes

TreeNode[]: Returns the collection of all selected nodes.

Instance memberSelectionMode

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

Instance membersText

SalString: Multiple Inheritance: Wrapper property.

Instance memberUseStateImageList

Boolean: 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.

Methods

Instance memberAddColor(text, color)

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

ParameterTypeDescription
textSalString
colorSalNumber

Returns: SalNumber.

Instance memberAddColorValue(text, color, value)

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

ParameterTypeDescription
textSalString
colorSalNumber
valueSalNumber

Returns: SalNumber.

Instance memberAddFont(text, hFont)

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

ParameterTypeDescription
textSalString
hFontSalNumber

Returns: SalNumber.

Instance memberAddFontValue(text, hFont, value)

Adds a new item with the specified font and value.

ParameterTypeDescription
textSalString
hFontSalNumber
valueSalNumber

Returns: SalNumber.

Instance memberAddListItem(sName)

Adds a string to a list box or combo box.

ParameterTypeDescription
sNameSalString

Returns: SalNumber.

Instance memberAddPicture(text, picNormal, picSelect)

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

ParameterTypeDescription
textSalString
picNormalSalNumber
picSelectSalNumber

Returns: SalNumber.

Instance memberAddPictureValue(text, picNormal, picSelect, value)

Adds an item to the list control and specified an image for the normal and selected state, and a value to associate with the item.

ParameterTypeDescription
textSalString
picNormalSalNumber
picSelectSalNumber
valueSalNumber

Returns: SalNumber.

Instance memberBringWindowToTop()

Brings a window to the top of all overlapping windows.

Returns: SalBoolean.

Instance memberCenterWindow()

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.

Returns: SalBoolean.

Instance memberClear()

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

Returns: SalBoolean.

Instance memberClearCursor(nType)

Clears a window's cursor.

ParameterTypeDescription
nTypeSalNumber

Returns: SalBoolean.

Instance memberClearList()

Deletes all entries from a list box or combo box.

Returns: SalBoolean.

Instance memberCollapse(index)

Collapses all descendant items.

ParameterTypeDescription
indexSalNumber

Returns: SalBoolean.

Instance memberDeleteChild(index)

Deletes the child item from the tree control.

ParameterTypeDescription
indexSalNumber

Returns: SalNumber.

Instance memberDeleteDescendents(index)

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

ParameterTypeDescription
indexSalNumber

Returns: SalNumber.

Instance memberDeleteListItem(nIndex)

Deletes a list box or combo box entry.

ParameterTypeDescription
nIndexSalNumber

Returns: SalNumber.

Instance memberDemote(index, picNormal, picSelect)

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

ParameterTypeDescription
indexSalNumber
picNormalSalNumber
picSelectSalNumber

Returns: SalBoolean.

Instance memberDestroyWindow()

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

Returns: SalBoolean.

Instance memberDisableItem(index, color)

Disables the specified item.

ParameterTypeDescription
indexSalNumber
colorSalNumber

Returns: SalNumber.

Instance memberDisableWindow()

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.

Returns: SalBoolean.

Instance memberDisableWindowAndLabel()

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.

Returns: SalBoolean.

Instance memberDoDragDrop(sourceIndex, target, targetIndex, dropMode)

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

ParameterTypeDescription
sourceIndexSalNumber
targetSalWindowHandle
targetIndexSalNumber
dropModeSalNumber

Returns: SalBoolean.

Instance memberEnableItem(index, color)

Enables the specified item.

ParameterTypeDescription
indexSalNumber
colorSalNumber

Returns: SalNumber.

Instance memberEnableWindow()

Enables keyboard and mouse input to a window.

Returns: SalBoolean.

Instance memberEnableWindowAndLabel()

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.

Returns: SalBoolean.

Instance memberEnumChildren(hItem, hItems)

Enumerates child item handles for a specified item.

ParameterTypeDescription
hItemSalNumber
hItemsSalArray<SalNumber>

Returns: SalNumber.

Instance memberEnumDescendents(hItemParent, hItems)

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

ParameterTypeDescription
hItemParentSalNumber
hItemsSalArray<SalNumber>

Returns: SalNumber.

Instance memberExpand(index)

Expands an outline one level at the index specified.

ParameterTypeDescription
indexSalNumber

Returns: SalNumber.

Instance memberExpandDescendents(index)

Displays all descendants of an item.

ParameterTypeDescription
indexSalNumber

Returns: SalBoolean.

Instance memberFindChild(windowName)

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

ParameterTypeDescription
windowNameSalString

Returns: SalWindowHandle.

Instance memberFindItemValue(hItem, value)

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

ParameterTypeDescription
hItemSalNumber
valueSalNumber

Returns: SalNumber.

Instance memberFormUnitsToPixels(formUnits, vertical)

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.

ParameterTypeDescription
formUnitsSalNumberThe number of form units.
verticalSalBooleanIf 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.

Returns: SalNumber.

Instance memberFreeChild(hItemChild)

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

ParameterTypeDescription
hItemChildSalNumber

Returns: SalBoolean.

Instance memberFreeDescendents(hItemParent)

Frees memory for all descendants of the item specified.

ParameterTypeDescription
hItemParentSalNumber

Returns: SalBoolean.

Static memberFromHandle(handle)

Returns the control associated with the handle.

ParameterTypeDescription
handleSalWindowHandle

Returns: VisOutlineListBox.

Instance memberGetChildNodeCount(hItem, directChildrenOnly)

Gets the number of children for a specified item.

ParameterTypeDescription
hItemSalNumber
directChildrenOnlySalBoolean

Returns: SalNumber.

Instance memberGetClassName()

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

Returns: SalString.

Instance memberGetColor(index)

Returns the current color of the list item.

ParameterTypeDescription
indexSalNumber

Returns: SalNumber.

Instance memberGetControlType()

Returns an object's type.

Returns: SalNumber.

Instance memberGetDataType()

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

Returns: SalNumber.

Instance memberGetFirstChild(typeMask)

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.

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

Returns: SalWindowHandle.

Instance memberGetFlags(index)

Returns the item's flags.

ParameterTypeDescription
indexSalNumber

Returns: SalNumber.

Instance memberGetFont(name, size, enhancement)

ParameterTypeDescription
nameSalString&
sizeSalNumber&
enhancementSalNumber&

Returns: SalBoolean.

Instance memberGetFont(index)

Returns the current font of the list control item.

ParameterTypeDescription
indexSalNumber

Returns: SalNumber.

Instance memberGetIndexFromPoint(xPos, yPos)

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

ParameterTypeDescription
xPosSalNumber
yPosSalNumber

Returns: SalNumber.

Instance memberGetItemColor(hItem)

Retrieves the color associated with an outline item.

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetItemData(hItem, text, value, itemFlags)

ParameterTypeDescription
hItemSalNumber
textSalString&
valueSalNumber&
itemFlagsSalNumber&

Returns: SalBoolean.

Instance memberGetItemFlags(hItem)

Returns the items's flags.

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetItemFont(hItem)

Retrieves the font associated with an outline item.

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetItemHandle(index)

Retrieves the item handle based on an index specified.

ParameterTypeDescription
indexSalNumber

Returns: SalNumber.

Instance memberGetItemIndex(hItem)

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

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetItemPicture(hItem, picNormal, picSelect)

ParameterTypeDescription
hItemSalNumber
picNormalSalNumber&
picSelectSalNumber&

Returns: SalBoolean.

Instance memberGetItemText(hItem)

Returns the text for the outline item.

ParameterTypeDescription
hItemSalNumber

Returns: SalString.

Instance memberGetItemValue(hItem)

Returns the value saved with the outline item.

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetLabel()

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.

Returns: SalWindowHandle.

Instance memberGetLabelText(sText, nMaxLength)

ParameterTypeDescription
sTextSalString&
nMaxLengthSalNumber

Returns: SalNumber.

Instance memberGetLabelText(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.

ParameterTypeDescription
nMaxLengthSalNumber

Returns: SalString.

Instance memberGetLevel(hItem)

Returns the indentation level of the specified item.

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetListItemsCount()

Returns the number of list box or combo box entries.

Returns: SalNumber.

Instance memberGetListItemState(nIndex)

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

ParameterTypeDescription
nIndexSalNumber

Returns: SalBoolean.

Instance memberGetListItemText(nIndex, sText)

ParameterTypeDescription
nIndexSalNumber
sTextSalString&

Returns: SalNumber.

Instance memberGetListItemText(nIndex)

Returns the text of the specified item.

ParameterTypeDescription
nIndexSalNumber

Returns: SalString.

Instance memberGetListItemTextLength(nIndex)

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

ParameterTypeDescription
nIndexSalNumber

Returns: SalNumber.

Instance memberGetListSelectedIndex()

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

Returns: SalNumber.

Instance memberGetListSelectedItems(nSelectedArray)

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

ParameterTypeDescription
nSelectedArraySalArray<SalNumber>

Returns: SalBoolean.

Instance memberGetListSelectedItemsCount()

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

Returns: SalNumber.

Instance memberGetLocation(x, y)

ParameterTypeDescription
xSalNumber&
ySalNumber&

Returns: SalBoolean.

Instance memberGetName(text)

ParameterTypeDescription
textSalString&

Returns: SalBoolean.

Instance memberGetName()

Gets the name of an object.

Returns: SalString.

Instance memberGetNextChild(typeMask)

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

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

Returns: SalWindowHandle.

Instance memberGetNextSibling(hItem)

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

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetParent()

Returns the handle of an object's parent window.

Returns: SalWindowHandle.

Instance memberGetParent(hItem)

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

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetPicture(index, picNormal, picSelect)

ParameterTypeDescription
indexSalNumber
picNormalSalNumber&
picSelectSalNumber&

Returns: SalNumber.

Instance memberGetPrevSibling(hItem)

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

ParameterTypeDescription
hItemSalNumber

Returns: SalNumber.

Instance memberGetProperty(name, value)

ParameterTypeDescription
nameSalString
valueSalString&

Returns: SalBoolean.

Instance memberGetProperty(name)

Gets the value of a named property.

ParameterTypeDescription
nameSalString

Returns: SalString.

Instance memberGetRoot()

Returns the handle for the root node.

Returns: SalNumber.

Instance memberGetSize(width, height)

ParameterTypeDescription
widthSalNumber&
heightSalNumber&

Returns: SalBoolean.

Instance memberGetStyle()

Returns the style flags for the control.

Returns: SalNumber.

Instance memberGetText(sText, nMaxLen)

ParameterTypeDescription
sTextSalString&
nMaxLenSalNumber

Returns: SalNumber.

Instance memberGetText(nMaxLen)

Retrieves the text of a window.

ParameterTypeDescription
nMaxLenSalNumber

Returns: SalString.

Instance memberGetTextRectangle(index, top, left, bottom, right)

ParameterTypeDescription
indexSalNumber
topSalNumber&
leftSalNumber&
bottomSalNumber&
rightSalNumber&

Returns: SalBoolean.

Instance memberGetWindowColor(colorIndex)

Gets a window's color.

ParameterTypeDescription
colorIndexSalNumber

Returns: SalNumber.

Instance memberGetWindowState()

Returns a window's current state.

Returns: SalNumber.

Instance memberHideWindow()

Hides a window.

Returns: SalBoolean.

Instance memberHideWindowAndLabel()

Hides a window and its associated label.

Returns: SalBoolean.

Instance memberInsertColor(index, text, color)

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

ParameterTypeDescription
indexSalNumber
textSalString
colorSalNumber

Returns: SalNumber.

Instance memberInsertColorValue(index, text, color, value)

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

ParameterTypeDescription
indexSalNumber
textSalString
colorSalNumber
valueSalNumber

Returns: SalNumber.

Instance memberInsertFont(index, text, hFont)

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

ParameterTypeDescription
indexSalNumber
textSalString
hFontSalNumber

Returns: SalNumber.

Instance memberInsertFontValue(index, text, hFont, value)

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

ParameterTypeDescription
indexSalNumber
textSalString
hFontSalNumber
valueSalNumber

Returns: SalNumber.

Instance memberInsertListItem(nIndex, sAdd)

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

ParameterTypeDescription
nIndexSalNumber
sAddSalString

Returns: SalNumber.

Instance memberInsertPicture(index, text, picNormal, picSelect)

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

ParameterTypeDescription
indexSalNumber
textSalString
picNormalSalNumber
picSelectSalNumber

Returns: SalNumber.

Instance memberInsertPictureValue(index, text, picNormal, picSelect, value)

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

ParameterTypeDescription
indexSalNumber
textSalString
picNormalSalNumber
picSelectSalNumber
valueSalNumber

Returns: SalNumber.

Instance memberInvalidateWindow()

Causes a window to be repainted.

Returns: SalBoolean.

Instance memberIsDerivedFromClass(typeClass)

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

ParameterTypeDescription
typeClassType

Returns: SalBoolean.

Instance memberIsEnabled()

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

Returns: SalBoolean.

Instance memberIsModified()

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.

Returns: SalBoolean.

Instance memberIsVisible()

Determines whether a window is currently visible.

Returns: SalBoolean.

Instance memberKillTimer(idEvent)

Destroys an object's system timer.

ParameterTypeDescription
idEventSalNumber

Returns: SalBoolean.

Instance memberLoadChild(hItemParent, picNormal, picSelect, text, value, itemFlags)

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

ParameterTypeDescription
hItemParentSalNumber
picNormalSalNumber
picSelectSalNumber
textSalString
valueSalNumber
itemFlagsSalNumber

Returns: SalNumber.

Instance memberLoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)

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

ParameterTypeDescription
hItemParentSalNumber
picNormalSalNumber
picSelectSalNumber
textSalArray<SalString>
valuesSalArray<SalNumber>
itemFlagsSalArray<SalNumber>

Returns: SalNumber.

Instance memberLoadChildren(hItemParent, picNormal, picSelect, text, values, itemFlags)

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

ParameterTypeDescription
hItemParentSalNumber
picNormalSalArray<SalNumber>
picSelectSalArray<SalNumber>
textSalArray<SalString>
valuesSalArray<SalNumber>
itemFlagsSalArray<SalNumber>

Returns: SalNumber.

Instance memberLoadOutline(blob)

Deserializes the entire outline tree from the specified string.

ParameterTypeDescription
blobSalString

Returns: SalNumber.

Instance memberLoadOutlineFile(fileName, picParentNormal, picParentSelect, picChildNormal, picChildSelect)

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

ParameterTypeDescription
fileNameSalString
picParentNormalSalNumber
picParentSelectSalNumber
picChildNormalSalNumber
picChildSelectSalNumber

Returns: SalNumber.

Instance memberLoadSibling(hItemBefore, picNormal, picSelect, text, value, itemFlags)

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

ParameterTypeDescription
hItemBeforeSalNumber
picNormalSalNumber
picSelectSalNumber
textSalString
valueSalNumber
itemFlagsSalNumber

Returns: SalNumber.

Instance memberMoveDown(index)

Moves the specified item down one position in the tree.

ParameterTypeDescription
indexSalNumber

Returns: SalBoolean.

Instance memberMoveUp(index)

Moves an item and its descendants up in the list.

ParameterTypeDescription
indexSalNumber

Returns: SalBoolean.

Instance memberMoveWindow(nXOffset, nYOffset)

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

ParameterTypeDescription
nXOffsetSalNumber
nYOffsetSalNumber

Returns: SalBoolean.

Instance memberPixelsToFormUnits(nNumPixels, bVertical)

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.

ParameterTypeDescription
nNumPixelsSalNumber
bVerticalSalBoolean

Returns: SalNumber.

Instance memberPopulateList(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.

ParameterTypeDescription
hSqlSalSqlHandle
sSelectSalString

Returns: SalBoolean.

Instance memberPopulateList(hSql, sSelect, errorHandler)

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.

ParameterTypeDescription
hSqlSalSqlHandle
sSelectSalString
errorHandlerWhenSqlErrorHandler

Returns: SalBoolean.

Instance memberPostMessage(msg, mywParam, mylParam)

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

ParameterTypeDescription
msgSalNumber
mywParamSalNumber
mylParamSalNumber

Returns: SalBoolean.

Instance memberPromote(index, picNormal, picSelect)

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

ParameterTypeDescription
indexSalNumber
picNormalSalNumber
picSelectSalNumber

Returns: SalBoolean.

Instance memberSaveOutline(blob)

ParameterTypeDescription
blobSalString&

Returns: SalNumber.

Instance memberSendMessage(msg, mywParam, mylParam)

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

ParameterTypeDescription
msgSalNumber
mywParamSalNumber
mylParamSalNumber

Returns: SalNumber.

Instance memberSendMessageToChildren(nMsg, nMywParam, nMylParam)

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

ParameterTypeDescription
nMsgSalNumber
nMywParamSalNumber
nMylParamSalNumber

Returns: SalBoolean.

Instance memberSetColor(index, color)

Sets the color of a list item.

ParameterTypeDescription
indexSalNumber
colorSalNumber

Returns: SalNumber.

Instance memberSetContextMenu(menuName, flags)

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

ParameterTypeDescription
menuNameSalString
flagsSalNumber

Returns: SalBoolean.

Instance memberSetContextMenu(menuType, flags)

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

ParameterTypeDescription
menuTypeType
flagsSalNumber

Returns: SalBoolean.

Instance memberSetCursor(resource, type)

Sets a window's cursor.

ParameterTypeDescription
resourceSalResourceCursor
typeSalNumber

Returns: SalBoolean.

Instance memberSetCursor(resourceId, type)

Sets a window's cursor.

ParameterTypeDescription
resourceIdInt32
typeSalNumber

Returns: SalBoolean.

Instance memberSetCursor(blob, type)

Sets a window's cursor from a string variable.

ParameterTypeDescription
blobSalString
typeSalNumber

Returns: SalBoolean.

Instance memberSetCursorFile(file, type)

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

ParameterTypeDescription
fileSalString
typeSalNumber

Returns: SalBoolean.

Instance memberSetFlags(index, flags, state)

Sets the item's flags.

ParameterTypeDescription
indexSalNumber
flagsSalNumber
stateSalBoolean

Returns: SalBoolean.

Instance memberSetFocus()

Sets the focus to a specified window.

Returns: SalWindowHandle.

Instance memberSetFont(name, size, enhancement)

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

ParameterTypeDescription
nameSalString
sizeSalNumber
enhancementSalNumber

Returns: SalBoolean.

Instance memberSetFont(index, hFont)

Sets the font of the list control item.

ParameterTypeDescription
indexSalNumber
hFontSalNumber

Returns: SalNumber.

Instance memberSetIndent(width)

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

ParameterTypeDescription
widthSalNumber

Returns: SalBoolean.

Instance memberSetItemColor(hItem, color)

Sets the color of the outline item.

ParameterTypeDescription
hItemSalNumber
colorSalNumber

Returns: SalBoolean.

Instance memberSetItemData(hItem, text, value, itemFlags)

Updates the specified item.

ParameterTypeDescription
hItemSalNumber
textSalString
valueSalNumber
itemFlagsSalNumber

Returns: SalNumber.

Instance memberSetItemFlags(hItem, flags, state)

Sets the item's flags.

ParameterTypeDescription
hItemSalNumber
flagsSalNumber
stateSalBoolean

Returns: SalBoolean.

Instance memberSetItemFont(hItem, hFont)

Sets the font of the outline item.

ParameterTypeDescription
hItemSalNumber
hFontSalNumber

Returns: SalBoolean.

Instance memberSetItemPicture(hItem, picNormal, picSelect)

Assigns new bitmaps to the specified item.

ParameterTypeDescription
hItemSalNumber
picNormalSalNumber
picSelectSalNumber

Returns: SalBoolean.

Instance memberSetItemText(hItem, text)

Sets the text of the outline item.

ParameterTypeDescription
hItemSalNumber
textSalString

Returns: SalBoolean.

Instance memberSetItemValue(hItem, value)

Sets the value associated to the outline item.

ParameterTypeDescription
hItemSalNumber
valueSalNumber

Returns: SalBoolean.

Instance memberSetLabelText(sText)

Sets the text of the associated label control.

ParameterTypeDescription
sTextSalString

Returns: SalBoolean.

Instance memberSetListRedraw(bRedraw)

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

ParameterTypeDescription
bRedrawSalNumber

Returns: SalBoolean.

Instance memberSetListSelectedIndex(nIndex)

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

ParameterTypeDescription
nIndexSalNumber

Returns: SalBoolean.

Instance memberSetListSelectedItems(nIndex, bSelect)

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

ParameterTypeDescription
nIndexSalNumber
bSelectSalBoolean

Returns: SalBoolean.

Instance memberSetListSelectedText(nIndexStart, sText)

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

ParameterTypeDescription
nIndexStartSalNumber
sTextSalString

Returns: SalNumber.

Instance memberSetLocation(x, y)

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

ParameterTypeDescription
xSalNumber
ySalNumber

Returns: SalBoolean.

Instance memberSetModified(bSet)

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

ParameterTypeDescription
bSetSalBoolean

Returns: SalBoolean.

Instance memberSetOutlineRedraw(state)

Enables or disables drawing.

ParameterTypeDescription
stateSalBoolean

Returns: SalBoolean.

Instance memberSetPicture(index, picNormal, picSelect)

Changes the normal and selected images for the specified item.

ParameterTypeDescription
indexSalNumber
picNormalSalNumber
picSelectSalNumber

Returns: SalNumber.

Instance memberSetProperty(name, value, length)

Sets the value of a named property.

ParameterTypeDescription
nameSalString
valueSalString
lengthSalNumber

Returns: SalBoolean.

Instance memberSetSelected(node, selected)

Selects/Deselects the specified node.

ParameterTypeDescription
nodeTreeNode
selectedBoolean

Instance memberSetSize(width, height)

Resizes a window.

ParameterTypeDescription
widthSalNumber
heightSalNumber

Returns: SalBoolean.

Instance memberSetStyle(style)

Sets the style flags for the control.

ParameterTypeDescription
styleSalNumber

Returns: SalBoolean.

Instance memberSetText(text)

Sets the text of a window.

ParameterTypeDescription
textSalString

Returns: SalBoolean.

Instance memberSetTimer(idEvent, elapseMilliSec)

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.

ParameterTypeDescription
idEventSalNumber
elapseMilliSecSalNumber

Returns: SalBoolean.

Instance memberSetWindowColor(nColorIndex, nColor)

Sets a window's color.

ParameterTypeDescription
nColorIndexSalNumber
nColorSalNumber

Returns: SalBoolean.

Instance memberShowOutline(level)

Expands list items up to the specified level.

ParameterTypeDescription
levelSalNumber

Returns: SalBoolean.

Instance memberShowWindow()

Makes a window visible.

Returns: SalBoolean.

Instance memberShowWindowAndLabel()

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

Returns: SalBoolean.

Instance memberTrackPopupMenu(menuName, flags, x, y)

Creates pop-up menus at runtime.

ParameterTypeDescription
menuNameSalString
flagsSalNumber
xSalNumber
ySalNumber

Returns: SalBoolean.

Instance memberTrackPopupMenu(menuType, nFlags, nX, nY)

Creates pop-up menus at runtime.

ParameterTypeDescription
menuTypeType
nFlagsSalNumber
nXSalNumber
nYSalNumber

Returns: SalBoolean.

Instance memberUpdateWindow()

Forces the update of a window.

Returns: SalBoolean.

Instance memberWinHelp(file, command, numData, strData)

Starts the Windows help system.

ParameterTypeDescription
fileSalString
commandSalNumber
numDataSalNumber
strDataSalString

Returns: SalBoolean.

Instance memberYield()

Processes messages for this control.

Events

Instance memberMessageActions

SalMessageHandler Message Actions

Instance memberWindowActions

WindowActionsEventHandler Window Actions

Inherited By

NameDescription
VisDesktopListBoxDisplays directory tree in a list box similar to Win95
VisDirTreeListBoxDisplays directory tree outline in a list box.

Implements

NameDescription
ISalControl
ISalListControl
ISalWindow