다음을 통해 공유


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.

EnableGroupView

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

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.

GetEmptyText

Retrieves the string to display if the current list-view control is empty.

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.

GetFocusedGroup

Retrieves the group that has the keyboard focus in the current list-view control.

GetGroupCount

Retrieves the number of groups in the current list-view control.

GetGroupInfo

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

GetGroupInfoByIndex

Retrieves information about a specified group in the current list-view control.

GetGroupMetrics

Retrieves the metrics of a group.

GetGroupRect

Retrieves the bounding rectangle for a specified group in the current list-view control.

GetGroupState

Retrieves the state for a specified group in the current 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.

GetInsertMarkColor

Retrieves the current color of the insertion mark.

GetInsertMark

Retrieves the current position of the insertion mark.

GetInsertMarkRect

Retrieves the rectangle that bounds the insertion point.

GetItemCount

Retrieves the number of items in a list view control.

GetItemData

Retrieves the application-specific value associated with an item.

GetItem

Retrieves a list view item's attributes.

GetItemIndexRect

Retrieves the bounding rectangle for all or part of a subitem in the current list-view control.

GetItemPosition

Retrieves the position of a list view item.

GetItemRect

Retrieves the bounding rectangle for an item.

GetItemSpacing

Calculates the spacing between items in the current list-view control.

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.

GetNextItemIndex

Retrieves the index of the item in the current list-view control that has a specified set of properties.

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.

GetOutlineColor

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

GetSelectedColumn

Retrieves the index of the currently selected column in the list 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.

GetTileInfo

Retrieves information about a tile in a list view control.

GetTileViewInfo

Retrieves information about a list view control in tile view.

GetToolTips

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

GetTopIndex

Retrieves the index of the topmost visible item.

GetView

Gets the view of the list view control.

GetViewRect

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

GetWorkAreas

Retrieves the current working areas of a 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.

InsertMarkHitTest

Retrieves the insertion point closest to a specified point.

IsGroupViewEnabled

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

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.

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.

SetGroupInfo

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

SetGroupMetrics

Sets the group metrics 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.

SetInfoTip

Sets the tooltip text.

SetInsertMarkColor

Sets the color of the insertion point.

SetInsertMark

Sets the insertion point to the defined position.

SetItemCount

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

SetItemCountEx

Sets the item count for a virtual list view control.

SetItem

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

SetItemData

Sets the item's application-specific value.

SetItemIndexState

Sets the state of an item in the current list-view control.

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.

SetOutlineColor

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

SetSelectedColumn

Sets the selected column of the list view control.

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.

SetTileInfo

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

SetTileViewInfo

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

SetToolTips

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

SetView

Sets the view of the list view control.

SetWorkAreas

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

SortGroups

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

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.

IsItemVisible

Indicates whether a specified item in the current list-view control is visible.

MapIDToIndex

Maps the unique ID of an item in the current list-view control to an index.

MapIndexToID

Maps the index of an item in the current list-view control to a unique ID.

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

Concepts

CListCtrl Class

CWnd Members

Hierarchy Chart