다음을 통해 공유


List-View Controls Messages (Windows CE 5.0)

Send Feedback

The following table shows the list-view controls messages, with a description of the purpose of each.

Programming element Description
LVM_APPROXIMATEVIEWRECT This message calculates the approximate width and height required to display a specified number of items.
LVM_ARRANGE This message arranges items in icon view.
LVM_CREATEDRAGIMAGE This message creates a drag image list for the specified item.
LVM_DELETEALLITEMS This message removes all items from a list-view control.
LVM_DELETECOLUMN This message removes a column from a list-view control.
LVM_DELETEITEM This message removes an item from a list-view control.
LVM_EDITLABEL This message begins in-place editing of the specified list-view item's text.
LVM_ENABLEGROUPVIEW This message determines whether the items in a list-view control are displayed as a group.
LVM_ENSUREVISIBLE This message ensures that a list-view item is entirely or at least partially visible, scrolling the list-view control if necessary.
LVM_FINDITEM This message searches for a list-view item with the specified characteristics.
LVM_GETBKCOLOR This message retrieves the background color of a list-view control.
LVM_GETBKIMAGE This message retrieves the background image in a list-view control.
LVM_GETCALLBACKMASK This message retrieves the callback mask for a list-view control.
LVM_GETCOLUMN This message retrieves the attributes of a list-view control column.
LVM_GETCOLUMNORDERARRAY This message retrieves the current left-to-right order of columns in a list-view control.
LVM_GETCOLUMNWIDTH This message retrieves the width of a column in report or list view.
LVM_GETCOUNTPERPAGE This message calculates the number of items that can fit vertically in the visible area of a list-view control when in list or report view.
LVM_GETEDITCONTROL This message retrieves the handle of the edit control being used to edit a list-view item's text.
LVM_GETEXTENDEDLISTVIEWSTYLE This message retrieves the extended styles that are currently in use for a specified list-view control.
LVM_GETGROUPCOUNT This message gets the number of available groups for the list-view control.
LVM_GETGROUPINFO This message retrieves group information.
LVM_GETGROUPINFOBYINDEX This message gets the list-view group's information. This information is based on the group index.
LVM_GETGROUPMETRICS This message retrieves the metrics of a group.
LVM_GETHEADER This message retrieves the handle to the header control used by the list-view control.
LVM_GETIMAGELIST This message retrieves the handle of an image list used for drawing list-view items.
LVM_GETISEARCHSTRING This message retrieves the incremental search string of a list-view control.
LVM_GETITEM This message retrieves some or all of a list-view item's attributes.
LVM_GETITEMCOUNT This message retrieves the number of items in a list-view control.
LVM_GETITEMPOSITION This message retrieves the position of a list-view item.
LVM_GETITEMRECT This message retrieves the bounding rectangle for all or part of an item in the current view.
LVM_GETITEMSPACING This message determines the spacing between items in a list-view control.
LVM_GETITEMSTATE This message retrieves the state of a list-view item.
LVM_GETITEMTEXT This message retrieves the text of a list-view item or subitem.
LVM_GETNEXTITEM This message searches for a list-view item that has the specified properties and bears the specified relationship to a specified item.
LVM_GETNUMBEROFWORKAREAS This message retrieves the number of list-view working areas in a list-view control.
LVM_GETORIGIN This message retrieves the current view origin for a list-view control.
LVM_GETSELECTEDCOUNT This message determines the number of selected items in a list-view control.
LVM_GETSELECTIONMARK This message retrieves the selection mark from a list-view control.
LVM_GETSTRINGWIDTH This message determines the width of a specified string, using the specified list-view control's current font.
LVM_GETSUBITEMRECT This message retrieves data about the bounding rectangle for a subitem in a list-view control.
LVM_GETTEXTBKCOLOR This message retrieves the text background color of a list-view control.
LVM_GETTEXTCOLOR This message retrieves the text color of a list-view control.
LVM_GETTOOLTIPS This message retrieves the ToolTip control that the list-view control uses to display ToolTips.
LVM_GETTOPINDEX This message retrieves the index of the topmost visible item when in list or report view.
LVM_GETVIEWRECT This message retrieves the bounding rectangle of all items in the list-view control.
LVM_GETWORKAREAS This message retrieves the working areas from a list-view control.
LVM_HASGROUP This message determines whether the list-view control has a specified group.
LVM_HITTEST This message determines which list-view item, if any, is at a specified position.
LVM_INSERTCOLUMN This message inserts a new column in a list-view control.
LVM_INSERTGROUP This message inserts a group into a list-view control.
LVM_INSERTGROUPSORTED This message inserts a group into an ordered list of groups.
LVM_INSERTITEM This message inserts a new item in a list-view control.
LVM_ISGROUPVIEWENABLED This message checks whether the list-view control has group view enabled.
LVM_MAPIDTOINDEX This message maps the identifier (ID) of an item to an index.
LVM_MAPINDEXTOID This message maps the index of an item to a unique identifier (ID).
LVM_MOVEGROUP This message moves the group to the specified zero based index.
LVM_MOVEITEMTOGROUP This message moves an item specified by an index into a group.
LVM_REDRAWITEMS This message forces a list-view control to redraw a range of items.
LVM_REMOVEALLGROUPS This message removes all groups from a list-view control.
LVM_REMOVEGROUP This message removes a group from a list-view control.
LVM_SCROLL This message scrolls the content of a list-view control.
LVM_SETBKCOLOR This message sets the background color of a list-view control.
LVM_SETBKIMAGE This message sets the background image in a list-view control.
LVM_SETCALLBACKMASK This message sets the callback mask for a list-view control.
LVM_SETCOLUMN This message sets the attributes of a list-view column.
LVM_SETCOLUMNORDERARRAY This message sets the left-to-right order of columns in a list-view control.
LVM_SETCOLUMNWIDTH This message changes the width of a column in report or list view.
LVM_SETEXTENDEDLISTVIEWSTYLE This message sets extended styles in list-view controls.
LVM_SETGROUPINFO This message sets group information.
LVM_SETGROUPMETRICS This message sets the metrics of a group.
LVM_SETICONSPACING This message sets the spacing between icons in list-view controls that have the LVS_ICON style.
LVM_SETIMAGELIST This message assigns a new image list to a list-view control.
LVM_SETINFOTIP This message sets the ToolTip text.
LVM_SETITEM This message sets some or all of a list-view item's attributes.
LVM_SETITEMCOUNT This message prepares a list-view control for adding a large number of items.
LVM_SETITEMPOSITION This message moves an item to a specified position in a list-view control, which must be in icon or small icon view.
LVM_SETITEMPOSITION32 This message moves an item to a specified position in a list-view control, which must be in icon or small icon view.
LVM_SETITEMSTATE This message changes the state of an item in a list-view control.
LVM_SETITEMTEXT This message changes the text of a list-view item or subitem.
LVM_SETSELECTIONMARK This message sets the selection mark in a list-view control.
LVM_SORTGROUPS This message uses an application-defined comparison function to sort groups by ID within a list-view control.
LVM_SETTEXTBKCOLOR This message sets the background color of text in a list-view control.
LVM_SETTEXTCOLOR This message sets the text color of a list-view control.
LVM_SETTOOLTIPS This message sets the ToolTip control that the list-view control will use to display ToolTips.
LVM_SETWORKAREAS This message sets the working areas within a list-view control.
LVM_SORTITEMS This message sorts list-view items using an application-defined comparison function.
LVM_SUBITEMHITTEST This message determines which list-view item or subitem is at a specified position.
LVM_UPDATE This message updates a list-view item.

See Also

List-View Controls Reference

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.