List-View Controls Macros
A version of this page is also available for
4/8/2010
The following table shows the list-view controls macros, with a description of the purpose of each.
Programming element | Description |
---|---|
This macro calculates the approximate width and height required to display a specified number of items. |
|
This macro arranges items in icon view. |
|
This macro creates a drag image list for the specified item. |
|
This macro removes all items from a list-view control. |
|
This macro removes a column from a list-view control. |
|
This macro removes an item from a list-view control. |
|
This macro begins in-place editing of the specified list-view item's text. |
|
This macro determines whether the items in a list-view control display as a group. |
|
This macro ensures that a list-view item is either entirely or partially visible, scrolling the list-view control if necessary. |
|
This macro searches for a list-view item with the specified characteristics. |
|
This macro retrieves the background color of a list-view control. |
|
This macro retrieves the background image in a list-view control. |
|
This macro retrieves the callback mask for a list-view control. |
|
This macro determines if an item in a list-view control is selected. |
|
This macro retrieves the attributes of a list-view control's column. |
|
This macro retrieves the current left-to-right order of columns in a list-view control. |
|
This macro retrieves the width of a column in report or list view. |
|
This macro calculates the number of items that can fit vertically in the visible area of a list-view control when in list or report view. |
|
This macro retrieves the handle to the edit control being used to edit a list-view item's text. |
|
This macro retrieves the extended styles that are currently in use for a specified list-view control. |
|
This macro gets the number of available groups for the list-view control. |
|
This macro retrieves group information. |
|
This macro gets the list-view group's information. This information is based on the group index. |
|
This macro retrieves the metrics of a group. |
|
This macro retrieves the handle to the header control used by a list-view control. |
|
This macro retrieves the handle to an image list used for drawing list-view items. |
|
This macro retrieves the incremental search string of a list-view control. |
|
This macro retrieves some or all of a list-view item's attributes. |
|
This macro retrieves the number of items in a list-view control. |
|
This macro retrieves the position of a list-view item. |
|
This macro retrieves the bounding rectangle for all or part of an item in the current view. |
|
This macro determines the spacing between items in a list-view control. |
|
This macro retrieves the state of a list-view item. |
|
This macro retrieves the text of a list-view item or subitem. |
|
This inline function searches for a list-view item that has the specified properties and bears the specified relationship to a specified item. |
|
This macro retrieves the number of working areas in a list-view control. |
|
This macro retrieves the current view origin for a list-view control. |
|
This macro determines the number of selected items in a list-view control. |
|
This macro retrieves the selection mark from a list-view control. |
|
This macro determines the width of a specified string, using the specified list-view control's current font. |
|
This macro retrieves information about the rectangle that surrounds a subitem in a list-view control. |
|
This macro retrieves the text background color of a list-view control. |
|
This macro retrieves the text color of a list-view control. |
|
This macro retrieves the index of the topmost visible item when in list or report view. |
|
This macro retrieves the bounding rectangle of all items in the list-view control. |
|
This macro retrieves the working areas from a list-view control. |
|
This macro determines whether the list-view control has a specified group. |
|
This macro determines which list-view item, if any, is at a specified position. |
|
This macro inserts a new column in a list-view control. |
|
This macro inserts a group into a list-view control. |
|
This macro inserts a group into an ordered list of groups. |
|
This macro inserts a new item in a list-view control. |
|
This macro checks whether the list-view control has group view enabled. |
|
This macro maps the identifier (ID) of an item to an index. |
|
This macro maps the index of an item to a unique identifier (ID). |
|
This macro moves the group to the specified zero based index. |
|
This macro moves an item specified by an index into a group. |
|
This macro forces a list-view control to redraw a range of items. |
|
This macro removes all groups from a list-view control. |
|
This macro removes a group from a list-view control. |
|
This macro scrolls the content of a list-view control. |
|
This macro sets the background color a list-view control. |
|
This macro sets the background image in a list-view control. |
|
This macro changes the callback mask for a list-view control. |
|
This macro sets the attributes of a list-view column. |
|
This macro sets the left-to-right order of columns in a list-view control. |
|
This macro changes the width of a column in report or list view. |
|
This macro sets extended styles for list-view controls. |
|
This macro sets extended styles for list-view controls using the style mask. |
|
This macro sets group information. |
|
This macro sets the metrics of a group. |
|
This macro sets the spacing between icons in list-view controls set to the LVS_ICON style. |
|
This macro assigns an image list to a list-view control. |
|
This macro sets the tooltip text. |
|
This macro sets some or all of a list-view item's attributes. |
|
This macro prepares a list-view control for adding a large number of items. |
|
This macro sets the virtual number of items in a virtual list-view control. |
|
This macro moves an item to a specified position in a list-view control, which must be in icon or small icon view. |
|
This macro moves an item to a specified position in a list-view control, which must be in icon or small icon view. |
|
This macro changes the state of an item in a list-view control. |
|
This macro changes the text of a list-view item or subitem. |
|
This macro sets the selection mark in a list-view control. |
|
This macro sets the background color of text in a list-view control. |
|
This macro sets the text color of a list-view control. |
|
This macro sets the ToolTip control that the list-view control will use to display ToolTips. |
|
This macro sets the working area within a list-view control. |
|
This macro uses an application-defined comparison function to sort groups by identifier (ID) within a list-view control. |
|
This macro uses an application-defined comparison function to sort the items of a list-view control. |
|
This macro determines which list-view item or subitem is located at a specified position. |
|
This macro updates a list-view item. |