The VisListView type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddImage |
Adds an image to control's internal ImageLists.
| |
Arrange |
Aligns items on a grid.
| |
AssignColumns |
Assigns columns to be used for 'details' view.
| |
BringWindowToTop |
Brings a window to the top of all overlapping windows.
| |
CenterWindow |
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.
| |
ClearCursor |
Clears a window's cursor.
| |
DeleteAllItems |
Removes all items from the control.
| |
DeleteItem |
Removes an item from control and returns count of
remaining items.
| |
DestroyWindow |
Destroys a form window, a top-level table window, or a modeless dialog box created
with SalCreateWindow.
| |
DisableWindow |
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.
| |
EnableWindow |
Enables keyboard and mouse input to a window.
| |
EnsureVisible |
Ensures that an item is visible
| |
FindChild |
This function finds a child window of a given name in the specified window.
| |
FindItem |
Searches for an item by text or position.
| |
FormUnitsToPixels |
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.
| |
FromHandle |
Returns the control associated with the handle.
| |
GetAllSelectedItems |
Retrieves array of all selected items and returns count.
| |
GetBkColor |
Retrieves the color used for the control's overall background.
| |
GetClassName |
Return the name of a window's class as a string.
| |
GetColumn |
Retrieves the attributes of a column.
| |
GetColumnAlignment | ||
GetColumnTitle |
Retrieves a column's text.
| |
GetColumnWidth |
Retrieves a column's width.
| |
GetControlType |
Returns an object's type.
| |
GetCountPerPage |
Calculates the number of items that can fit vertically in control.
| |
GetFirstChild |
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.
| |
GetFocusItem |
Retrieves index of item with input focus.
| |
GetFont |
Gets a window's font name, size, and enhancements.
| |
GetImageCount |
Retrieves the number of images in control.
| |
GetItem |
Retrieves an item's attributes.
| |
GetItemCount |
Retrieves the number of items in control.
| |
GetItemPosition |
Retrieves the position of an item.
| |
GetItemRect |
Retrieves the bounding rectangle for an item.
| |
GetItemState |
Retrieves an item's state.
| |
GetItemText |
Retrieves an item's text.
| |
GetItemValue |
Retrieves an item's user data.
| |
GetLocation |
Returns a window's current position on the X and Y axes.
| |
GetName()()()() |
Gets the name of an object.
| |
GetName(SalString%) |
Gets the name of an object.
| |
GetNextChild |
Returns the handle of the next child window that matches a specified type.
| |
GetNextItem |
Searches for an item by sequence, relation or state.
| |
GetOrigin |
Retrieves the current view origin for control.
| |
GetParent |
Returns the handle of an object's parent window.
| |
GetProperty(SalString) |
Gets the value of a named property.
| |
GetProperty(SalString, SalString%) |
Gets the value of a named property.
| |
GetSelectedCount |
Retrieves the number of selected items in control.
| |
GetSelectedItem | ||
GetSize |
Returns a window's size.
| |
GetSortColumn |
Retrieves default sort column (subitem.)
| |
GetSortOrder |
Retrieves default sort order (ascending/descending)
| |
GetStringWidth |
Determines the minimum column width necessary to display all of a given string.
| |
GetStyle |
Retrieves current style bits for control.
| |
GetText(SalNumber) |
Retrieves the text of a window.
| |
GetText(SalString%, SalNumber) |
Retrieves the text of a window.
| |
GetTextBkColor |
Retrieves the color used for item and subitem text background.
| |
GetTextColor |
Retrieves the color used for item and subitem text.
| |
GetTopIndex |
Retrieves the index of the topmost visible item.
| |
GetViewRect |
Retrieves the bounding rectangle of all items in the control.
| |
GetWindowColor |
Gets a window's color.
| |
GetWindowState |
Returns a window's current state.
| |
HideWindow |
Hides a window.
| |
HitTest(VisPoint, SalNumber%) |
Determines which item is at a specified position.
| |
HitTest(SalNumber, SalNumber, SalNumber%) |
Determines which item is at a specified position.
| |
InsertDetails |
Inserts a new item into control and supplies subitem text for item.
| |
InsertDetailsPic |
Inserts a new item in control, copies picture into control and
uses copy for new item.
| |
InsertDetailsValue |
Inserts a new item into control and supplies subitem text for item;
also assigns user data for item.
| |
InsertDetailsValuePic |
Inserts a new item into control and supplies subitem text for item;
also assigns user data for item.
| |
InsertItem |
Inserts an item in control and returns index of new item
or -1 if unsuccessful.
| |
InsertItemPic |
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.
| |
InsertItemValue |
Inserts a new item in control and assigns user data for item.
Returns index of new item or -1 if unsuccessful.
| |
InsertItemValuePic |
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.
| |
InvalidateWindow |
Causes a window to be repainted.
| |
IsDerivedFromClass |
Determines whether a window is an instance of the specified class.
| |
IsEnabled |
Determines whether a window is enabled for mouse and keyboard input.
| |
IsVisible |
Determines whether a window is currently visible.
| |
KillTimer |
Destroys an object's system timer.
| |
MoveWindow |
Moves a window a given number of form units on the X and Y axes relative to its current
position.
| |
OnColumnClick | (Overrides ListView..::..OnColumnClick(ColumnClickEventArgs).) | |
OnHandleCreated | (Overrides ListView..::..OnHandleCreated(EventArgs).) | |
PixelsToFormUnits |
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.
| |
PostMessage |
Posts the specified message to a window by adding nMsg to hWndReceiver's message
queue.
| |
RemoveAllImages |
Removes all images from control.
| |
RemoveImage |
Removes an image from control's internal ImageLists.
| |
ReplaceImage |
Replaces an image in control's internal ImageLists.
| |
Scroll |
Scrolls the contents of control.
| |
SendMessage |
Sends the specified message to a window. SalSendMsg does not return until the processing
for the message is complete.
| |
SendMessageToChildren |
Sends a message to all child items of a form window, dialog box, table window, or
MDI window.
| |
SetBkColor |
Assigns the color used for the control's overall background.
| |
SetColumn |
Sets the attributes of a column.
| |
SetColumnAlignment | ||
SetColumnTitle |
Sets a column's text.
| |
SetColumnWidth |
Sets a column's width.
| |
SetContextMenu(Type, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
| |
SetContextMenu(SalString, SalNumber) |
Defines a named popup menu that displays automatically when a window receives SAM_ContextMenu.
| |
SetCursor(Int32, SalNumber) |
Sets a window's cursor.
| |
SetCursor(SalResourceCursor, SalNumber) |
Sets a window's cursor.
| |
SetCursor(SalString, SalNumber) |
Sets a window's cursor from a string variable.
| |
SetCursorFile |
Sets an application-defined cursor for the specified window. Use this function to
set the cursor from an image stored in a file.
| |
SetFocus |
Sets the focus to a specified window.
| |
SetFocusItem |
Assigns focus to the specified item.
| |
SetFont |
Sets a window's font, font size, and font enhancements.
| |
SetItem |
Sets an item's attributes.
| |
SetItemPosition |
Moves an item to a specified position in control.
| |
SetItemState |
Assigns an item's state (LVIS_Focused, LVIS_Selected, etc..)
| |
SetItemText |
Sets an item's or subitem's text.
| |
SetItemValue |
Assigns an item's user data.
| |
SetLocation |
Moves a window to a new position (x, y) on the X and Y axes.
| |
SetProperty |
Sets the value of a named property.
| |
SetSize |
Resizes a window.
| |
SetSortColumn |
Assigns default column (subitem) to sort on.
| |
SetSortOrder |
Assigns default sort order (LVSORT_Ascending/LVSORT_Descending.)
| |
SetStyle |
Sets style bits for control.
| |
SetText |
Sets the text of a window.
| |
SetTextBkColor |
Assigns the color used for item and subitem text background.
| |
SetTextColor |
Assigns the color used for item and subitem text.
| |
SetTimer |
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.
| |
SetWindowColor |
Sets a window's color.
| |
ShowWindow |
Makes a window visible.
| |
SortItems |
Sorts the items.
| |
TrackPopupMenu(Type, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
| |
TrackPopupMenu(SalString, SalNumber, SalNumber, SalNumber) |
Creates pop-up menus at runtime.
| |
UpdateWindow |
Forces the update of a window.
| |
ViewDetails |
Tells control to display 'details' view.'
| |
ViewLargeIcons |
Tells control to display 'large icons' view.
| |
ViewList |
Tells control to display 'list' view.
| |
ViewSmallIcons |
Tells control to display 'small icons' view.
| |
WinHelp |
Starts the Windows help system.
| |
WndProc |
Redirect Windows message to the implementation object.
(Overrides ListView..::..WndProc(Message%).) | |
Yield |
Processes messages for this control.
|