The VisListView type exposes the following members.

Constructors

  NameDescription
Public methodVisListView
Default Constructor.

Methods

  NameDescription
Public methodAddImage
Adds an image to control's internal ImageLists.
Public methodArrange
Aligns items on a grid.
Public methodAssignColumns
Assigns columns to be used for 'details' view.
Public methodBringWindowToTop
Brings a window to the top of all overlapping windows.
Public methodCenterWindow
Centers a window. If the window is a top-level window, it centers it on the desktop. If the window is a child window, it centers it on top of its parent.
Public methodClearCursor
Clears a window's cursor.
Public methodDeleteAllItems
Removes all items from the control.
Public methodDeleteItem
Removes an item from control and returns count of remaining items.
Public methodDestroyWindow
Destroys a form window, a top-level table window, or a modeless dialog box created with SalCreateWindow.
Public methodDisableWindow
Disables keyboard and mouse input to a window. If the window contains text (for example, a push button), the text is grayed. If the window is a data field, it cannot receive the focus.
Public methodEnableWindow
Enables keyboard and mouse input to a window.
Public methodEnsureVisible
Ensures that an item is visible
Public methodFindChild
This function finds a child window of a given name in the specified window.
Public methodFindItem
Searches for an item by text or position.
Public methodFormUnitsToPixels
Computes the number of pixels in the number of form units. Form units are a unit of measurement used by functions which move and position objects. Form units are computed using physical units (pixels) in conjunction with the window's font size.
Public methodStatic memberFromHandle
Returns the control associated with the handle.
Public methodGetAllSelectedItems
Retrieves array of all selected items and returns count.
Public methodGetBkColor
Retrieves the color used for the control's overall background.
Public methodGetClassName
Return the name of a window's class as a string.
Public methodGetColumn
Retrieves the attributes of a column.
Public methodGetColumnAlignment
Public methodGetColumnTitle
Retrieves a column's text.
Public methodGetColumnWidth
Retrieves a column's width.
Public methodGetControlType
Returns an object's type.
Public methodGetCountPerPage
Calculates the number of items that can fit vertically in control.
Public methodGetFirstChild
Returns the handle of the first child window of the specified type. You can use this function to get the handles of MDI child windows.
Public methodGetFocusItem
Retrieves index of item with input focus.
Public methodGetFont
Gets a window's font name, size, and enhancements.
Public methodGetImageCount
Retrieves the number of images in control.
Public methodGetItem
Retrieves an item's attributes.
Public methodGetItemCount
Retrieves the number of items in control.
Public methodGetItemPosition
Retrieves the position of an item.
Public methodGetItemRect
Retrieves the bounding rectangle for an item.
Public methodGetItemState
Retrieves an item's state.
Public methodGetItemText
Retrieves an item's text.
Public methodGetItemValue
Retrieves an item's user data.
Public methodGetLocation
Returns a window's current position on the X and Y axes.
Public methodGetName()()()()
Gets the name of an object.
Public methodGetName(SalString%)
Gets the name of an object.
Public methodGetNextChild
Returns the handle of the next child window that matches a specified type.
Public methodGetNextItem
Searches for an item by sequence, relation or state.
Public methodGetOrigin
Retrieves the current view origin for control.
Public methodGetParent
Returns the handle of an object's parent window.
Public methodGetProperty(SalString)
Gets the value of a named property.
Public methodGetProperty(SalString, SalString%)
Gets the value of a named property.
Public methodGetSelectedCount
Retrieves the number of selected items in control.
Public methodGetSelectedItem
Public methodGetSize
Returns a window's size.
Public methodGetSortColumn
Retrieves default sort column (subitem.)
Public methodGetSortOrder
Retrieves default sort order (ascending/descending)
Public methodGetStringWidth
Determines the minimum column width necessary to display all of a given string.
Public methodGetStyle
Retrieves current style bits for control.
Public methodGetText(SalNumber)
Retrieves the text of a window.
Public methodGetText(SalString%, SalNumber)
Retrieves the text of a window.
Public methodGetTextBkColor
Retrieves the color used for item and subitem text background.
Public methodGetTextColor
Retrieves the color used for item and subitem text.
Public methodGetTopIndex
Retrieves the index of the topmost visible item.
Public methodGetViewRect
Retrieves the bounding rectangle of all items in the control.
Public methodGetWindowColor
Gets a window's color.
Public methodGetWindowState
Returns a window's current state.
Public methodHideWindow
Hides a window.
Public methodHitTest(VisPoint, SalNumber%)
Determines which item is at a specified position.
Public methodHitTest(SalNumber, SalNumber, SalNumber%)
Determines which item is at a specified position.
Public methodInsertDetails
Inserts a new item into control and supplies subitem text for item.
Public methodInsertDetailsPic
Inserts a new item in control, copies picture into control and uses copy for new item.
Public methodInsertDetailsValue
Inserts a new item into control and supplies subitem text for item; also assigns user data for item.
Public methodInsertDetailsValuePic
Inserts a new item into control and supplies subitem text for item; also assigns user data for item.
Public methodInsertItem
Inserts an item in control and returns index of new item or -1 if unsuccessful.
Public methodInsertItemPic
Inserts a new item in control, copies picture into control and uses copy for new item. Returns index of new item or -1 if unsuccessful.
Public methodInsertItemValue
Inserts a new item in control and assigns user data for item. Returns index of new item or -1 if unsuccessful.
Public methodInsertItemValuePic
Inserts a new item in control, copies picture into control and uses copy for new item. Also assigns user data for item. Returns index of new item or -1 if unsuccessful.
Public methodInvalidateWindow
Causes a window to be repainted.
Public methodIsDerivedFromClass
Determines whether a window is an instance of the specified class.
Public methodIsEnabled
Determines whether a window is enabled for mouse and keyboard input.
Public methodIsVisible
Determines whether a window is currently visible.
Public methodKillTimer
Destroys an object's system timer.
Public methodMoveWindow
Moves a window a given number of form units on the X and Y axes relative to its current position.
Protected methodOnColumnClick (Overrides ListView..::..OnColumnClick(ColumnClickEventArgs).)
Protected methodOnHandleCreated (Overrides ListView..::..OnHandleCreated(EventArgs).)
Public methodPixelsToFormUnits
Computes the number of form units based on the number of pixels. Form units are a unit of measurement used by functions that move and position objects. Form units are computed using physical units (pixels) in conjunction with a window's font sizes.
Public methodPostMessage
Posts the specified message to a window by adding nMsg to hWndReceiver's message queue.
Public methodRemoveAllImages
Removes all images from control.
Public methodRemoveImage
Removes an image from control's internal ImageLists.
Public methodReplaceImage
Replaces an image in control's internal ImageLists.
Public methodScroll
Scrolls the contents of control.
Public methodSendMessage
Sends the specified message to a window. SalSendMsg does not return until the processing for the message is complete.
Public methodSendMessageToChildren
Sends a message to all child items of a form window, dialog box, table window, or MDI window.
Public methodSetBkColor
Assigns the color used for the control's overall background.
Public methodSetColumn
Sets the attributes of a column.
Public methodSetColumnAlignment
Public methodSetColumnTitle
Sets a column's text.
Public methodSetColumnWidth
Sets a column's width.
Public methodSetContextMenu(Type, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
Public methodSetContextMenu(SalString, SalNumber)
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
Public methodSetCursor(Int32, SalNumber)
Sets a window's cursor.
Public methodSetCursor(SalResourceCursor, SalNumber)
Sets a window's cursor.
Public methodSetCursor(SalString, SalNumber)
Sets a window's cursor from a string variable.
Public methodSetCursorFile
Sets an application-defined cursor for the specified window. Use this function to set the cursor from an image stored in a file.
Public methodSetFocus
Sets the focus to a specified window.
Public methodSetFocusItem
Assigns focus to the specified item.
Public methodSetFont
Sets a window's font, font size, and font enhancements.
Public methodSetItem
Sets an item's attributes.
Public methodSetItemPosition
Moves an item to a specified position in control.
Public methodSetItemState
Assigns an item's state (LVIS_Focused, LVIS_Selected, etc..)
Public methodSetItemText
Sets an item's or subitem's text.
Public methodSetItemValue
Assigns an item's user data.
Public methodSetLocation
Moves a window to a new position (x, y) on the X and Y axes.
Public methodSetProperty
Sets the value of a named property.
Public methodSetSize
Resizes a window.
Public methodSetSortColumn
Assigns default column (subitem) to sort on.
Public methodSetSortOrder
Assigns default sort order (LVSORT_Ascending/LVSORT_Descending.)
Public methodSetStyle
Sets style bits for control.
Public methodSetText
Sets the text of a window.
Public methodSetTextBkColor
Assigns the color used for item and subitem text background.
Public methodSetTextColor
Assigns the color used for item and subitem text.
Public methodSetTimer
Creates a system timer for a given object. When a timer event occurs, sends SAM_Timer messages to the object in specified intervals. Timers are a limited global resource. Your application must check the value returned by SalTimerSet to verify that the timer was created.
Public methodSetWindowColor
Sets a window's color.
Public methodShowWindow
Makes a window visible.
Public methodSortItems
Sorts the items.
Public methodTrackPopupMenu(Type, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
Public methodTrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber)
Creates pop-up menus at runtime.
Public methodUpdateWindow
Forces the update of a window.
Public methodViewDetails
Tells control to display 'details' view.'
Public methodViewLargeIcons
Tells control to display 'large icons' view.
Public methodViewList
Tells control to display 'list' view.
Public methodViewSmallIcons
Tells control to display 'small icons' view.
Public methodWinHelp
Starts the Windows help system.
Protected methodWndProc
Redirect Windows message to the implementation object.
(Overrides ListView..::..WndProc(Message%).)
Public methodYield
Processes messages for this control.

Operators

  NameDescription
Public operatorStatic memberExplicitNarrowingExplicitExplicitExplicit(SalWindowHandle to VisListView)
Fully qualified expressions operator.

Fields

  NameDescription
Public field_derived
Instance of the derived object that inherits this class as a second base in a multiple inheritance tree.

Properties

  NameDescription
Public propertyNamedProperties
Returns the collection of named properties.
Public propertyRightToLeftLayout
Overrides RightToLeftLayout to implement the inheritance from the parent form.
(Overrides ListView..::..RightToLeftLayout.)

Events

  NameDescription
Public eventMessageActions

See Also