Export (0) Print
Expand All

CListCtrl Members 

Construction

Attributes

Operations

Overridables

Construction

CListCtrl

Constructs a CListCtrl object.

Create

Creates a list control and attaches it to a CListCtrl object.

CreateEx

Creates a list control with the specified Windows extended styles and attaches it to a CListCtrl object.

Attributes

ApproximateViewRect

Determines the width and height required to display the items of a list view control.

CancelEditLabel

Cancels item text editing operation.

GetInsertMark

Retrieves the current position of the insertion mark.

InsertMarkHitTest

Retrieves the insertion point closest to a specified point.

GetInsertMarkColor

Retrieves the current color of the insertion mark.

GetInsertMarkRect

Retrieves the rectangle that bounds the insertion point.

GetOutlineColor

Retrieves the color of the border of a list view control.

SetOutlineColor

Sets the color of the border of a list view control.

GetTileInfo

Retrieves information about a tile in a list view control.

GetTileViewInfo

Retrieves information about a list view control in tile view.

GetSelectedColumn

Retrieves the index of the currently selected column in the list control.

IsGroupViewEnabled

Determines whether group view is enabled for a list view control.

SetInfoTip

Sets the tooltip text.

SetInsertMark

Sets the insertion point to the defined position.

SetInsertMarkColor

Sets the color of the insertion point.

SetTileInfo

Sets the information for a tile of the list view control.

SetTileViewInfo

Sets information that a list view control uses in tile view.

EnableGroupView

Enables or disables whether the items in a list view control display as a group.

GetGroupInfo

Gets the information for a specified group of the list view control.

GetGroupMetrics

Retrieves the metrics of a group.

GetView

Gets the view of the list view control.

HasGroup

Determines if the list view control has the specified group.

InsertGroup

Inserts a group into the list view control.

InsertGroupSorted

Inserts the specified group into an ordered list of groups.

MoveGroup

Moves the specified group.

MoveItemToGroup

Moves the specified group to the specified zero based index of the list view control.

RemoveAllGroups

Removes all groups from a list view control.

RemoveGroup

Removes the specified group from the list view control.

SetGroupInfo

Sets the information for the specified group of a list view control.

SetGroupMetrics

Sets the group metrics of a list view control.

SetSelectedColumn

Sets the selected column of the list view control.

SetView

Sets the view of the list view control.

SortGroups

Sorts the groups of a list view control with a user-defined function.

GetBkColor

Retrieves the background color of a list view control.

GetBkImage

Retrieves the current background image of a list view control.

GetCallbackMask

Retrieves the callback mask for a list view control.

GetCheck

Retrieves the current display status of the state image associated with an item.

GetColumn

Retrieves the attributes of a control's column.

GetColumnOrderArray

Retrieves the column order (left to right) of a list view control.

GetColumnWidth

Retrieves the width of a column in report view or list view.

GetCountPerPage

Calculates the number of items that can fit vertically in a list view control.

GetEditControl

Retrieves the handle of the edit control used to edit an item's text.

GetExtendedStyle

Retrieves the current extended styles of a list view control.

GetFirstSelectedItemPosition

Retrieves the position of the first selected list view item in a list view control.

GetHeaderCtrl

Retrieves the header control of a list view control.

GetHotCursor

Retrieves the cursor used when hot tracking is enabled for a list view control.

GetHotItem

Retrieves the list view item currently under the cursor.

GetHoverTime

Retrieves the current hover time of a list view control.

GetImageList

Retrieves the handle of an image list used for drawing list view items.

GetItem

Retrieves a list view item's attributes.

GetItemCount

Retrieves the number of items in a list view control.

GetItemData

Retrieves the application-specific value associated with an item.

GetItemPosition

Retrieves the position of a list view item.

GetItemRect

Retrieves the bounding rectangle for an item.

GetItemState

Retrieves the state of a list view item.

GetItemText

Retrieves the text of a list view item or subitem.

GetNextItem

Searches for a list view item with specified properties and with specified relationship to a given item.

GetNextSelectedItem

Retrieves the index of a list view item position, and the position of the next selected list view item for iterating.

GetNumberOfWorkAreas

Retrieves the current number of working areas for a list view control.

GetOrigin

Retrieves the current view origin for a list view control.

GetSelectedCount

Retrieves the number of selected items in the list view control.

GetSelectionMark

Retrieves the selection mark of a list view control.

GetStringWidth

Determines the minimum column width necessary to display all of a given string.

GetSubItemRect

Retrieves the bounding rectangle of an item in a list view control.

GetTextBkColor

Retrieves the text background color of a list view control.

GetTextColor

Retrieves the text color of a list view control.

GetToolTips

Retrieves the tooltip control that the list view control uses to display tooltips.

GetTopIndex

Retrieves the index of the topmost visible item.

GetViewRect

Retrieves the bounding rectangle of all items in the list view control.

GetWorkAreas

Retrieves the current working areas of a list view control.

SetBkColor

Sets the background color of the list view control.

SetBkImage

Sets the current background image of a list view control.

SetCallbackMask

Sets the callback mask for a list view control.

SetCheck

Sets the current display status of the state image associated with an item.

SetColumn

Sets the attributes of a list view column.

SetColumnOrderArray

Sets the column order (left to right) of a list view control.

SetColumnWidth

Changes the width of a column in report view or list view.

SetExtendedStyle

Sets the current extended styles of a list view control.

SetHotCursor

Sets the cursor used when hot tracking is enabled for a list view control.

SetHotItem

Sets the current hot item of a list view control.

SetHoverTime

Sets the current hover time of a list view control.

SetIconSpacing

Sets the spacing between icons in a list view control.

SetImageList

Assigns an image list to a list view control.

SetItem

Sets some or all of a list view item's attributes.

SetItemCount

Prepares a list view control for adding a large number of items.

SetItemCountEx

Sets the item count for a virtual list view control.

SetItemData

Sets the item's application-specific value.

SetItemPosition

Moves an item to a specified position in a list view control.

SetItemState

Changes the state of an item in a list view control.

SetItemText

Changes the text of a list view item or subitem.

SetSelectionMark

Sets the selection mark of a list view control.

SetTextBkColor

Sets the background color of text in a list view control.

SetTextColor

Sets the text color of a list view control.

SetToolTips

Sets the tooltip control that the list view control will use to display tooltips.

SetWorkAreas

Sets the area where icons can be displayed in a list view control.

SubItemHitTest

Determines which list view item, if any, is at a given position.

Operations

Arrange

Aligns items on a grid.

CreateDragImage

Creates a drag image list for a specified item.

DeleteAllItems

Deletes all items from the control.

DeleteColumn

Deletes a column from the list view control.

DeleteItem

Deletes an item from the control.

EditLabel

Begins in-place editing of an item's text.

EnsureVisible

Ensures that an item is visible.

FindItem

Searches for a list view item having specified characteristics.

HitTest

Determines which list view item is at a specified position.

InsertColumn

Inserts a new column in a list view control.

InsertItem

Inserts a new item in a list view control.

RedrawItems

Forces a list view control to repaint a range of items.

Scroll

Scrolls the content of a list view control.

SortItems

Sorts list view items using an application-defined comparison function.

Update

Forces the control to repaint a specified item.

Overridables

DrawItem

Called when a visual aspect of an owner-draw control changes.

See Also

Community Additions

ADD
Show:
© 2014 Microsoft