PyCListCtrl Object
A class which encapsulates an MFC CListCtrl object. Derived from a PyCWnd object.
Methods
- Arrange
- Aligns items on a grid.
- CreateWindow
- Creates the actual window for the object.
- DeleteAllItems
- Deletes all items from the list.
- DeleteItem
- Deletes the specified item.
- GetTextColor
- Retrieves the text color of a list view control.
- SetTextColor
- Sets the text color of a list view control.
- GetBkColor
- Retrieves the background color of the control.
- SetBkColor
- Sets the background color of the control.
- GetItem
- Retrieves the details of an items attributes.
- GetItemCount
- Retrieves the number of items in a list view control.
- GetItemRect
- Retrieves the bounding rectangle of a list view item.
- GetEditControl
- Retrieves the handle of the edit control used to edit the specified list view item.
- EditLabel
- Edits a specified list view item in-place.
- EnsureVisible
- Ensures that a list view item is visible in its list view control.
- CreateDragImage
- Creates a dragging bitmap for the specified list view item.
- GetImageList
- Retrieves the current image list.
- GetNextItem
- Searches for a list view item with specified properties and with specified relationship to a given item.
- InsertColumn
- Inserts a column into a list control when in report view.
- InsertItem
- Inserts an item into the list.
- SetImageList
- Assigns an image list to a list view control.
- GetColumn
- Retrieves the details of a column in the control.
- GetTextBkColor
- Retrieves the text background color of a list view control.
- SetTextBkColor
- Sets the text background color of a list view control.
- GetTopIndex
- Retrieves the index of the topmost visible item.
- GetCountPerPage
- Calculates the number of items that can fit vertically in a list view control.
- GetSelectedCount
- Retrieves the number of selected items in the list view control.
- SetItem
- Sets some of all of an items attributes.
- SetItemState
- Changes the state of an item in a list view control.
- GetItemState
- Retrieves the state of a list view item.
- SetItemData
- Sets the item's application-specific value.
- GetItemData
- Retrieves the application-specific value associated with an item.
- SetItemCount
- Prepares a list view control for adding a large number of items.
- GetItemCount
- Retrieves the number of items in a list view control.
- SetItemText
- Changes the text of a list view item or subitem.
- GetItemText
- Retrieves the text of a list view item or subitem.
- RedrawItems
- Redraws a range of items
- Update
- Forces the control to repaint a specified item.
- SetColumn
- Sets the state of a column in a list control when in report view.
- DeleteColumn
- Deletes the specified column from the list control.
- GetColumnWidth
- Gets the width of the specified column in the list control.
- SetColumnWidth
- Sets the width of the specified column in the list control.
- GetStringWidth
- Gets the necessary column width to fully display this text in a column.
- HitTest
- Determines which list view item, if any, is at a specified position.
- GetItemPosition
- Determines the position of the specified item.