-
Notifications
You must be signed in to change notification settings - Fork 40
Listview Functions
ListViewARCBoldItem
Description: Alt Colors for rows in listview and bold specified item
Parameters: lParam
, dwAltRowColor
, nBoldItem
, hBoldFont
, hNormalFont
ListViewARCBoldItemDlg
Description: Alt Colors for rows in listview used in a dialog and bold specified item
Parameters: hWin
, lParam
, dwAltRowColor
, nBoldItem
, hBoldFont
, hNormalFont
ListViewAltRowColor
Description: Sets alternate row color for a listview
Parameters: lParam
, dwAltRowColor
ListViewAltRowColorDlg
Description: Sets alternate row color for a listview (when listview is in a dialog procedure)
Parameters: hWin
, lParam
, dwAltRowColor
ListViewCheckboxSet
Description: Sets the checkbox mark for a specified list item
Parameters: hListview
, nItemIndex
, dwCheckedState
ListViewCheckboxToggle
Description: Toggles the checkbox mark for a specified list item
Parameters: hListview
, nItemIndex
ListViewClearAll
Description: Deletes all list items from listview
Parameters: hListview
ListViewDeleteAll
Description: Deletes all list items from listview
Parameters: hListview
ListViewDeleteItem
Description: Delete a specific list item (nListIndex
) from the listview
Parameters: hListview
, nItemIndex
ListViewDeselectAll
Description: De-selects all list items in listview
Parameters: hListview
ListViewDisableHighlighting
Description: Disables row highlighting
Parameters: hListview
, nItemIndex
ListViewEnableHighlighting
Description: Enables row highlighting
Parameters: hListview
, nItemIndex
ListViewEnsureVisible
Description: Brings specified list item into view
Parameters: hListview
, nItemIndex
ListViewFindItem
Description: Searches a listview for a test string, starting at a specific column through to an end column
Parameters: lpszFindString
, dwStartCol
, dwEndCol
, bShowFoundItem
, bCaseSensitive
ListViewGetColumnCount
Description: Returns the total columns in a listview
Parameters: ,hListview
ListViewGetFocused
Description:
Parameters: hListview
ListViewGetItemCount
Description: Returns the total rows in a listview
Parameters: hListview
ListViewGetItemImage
Description: Gets the icon of the specified index and returns it in eax or -1 if fail
Parameters: hListview
,nItemIndex
ListViewGetItemParam
Description: Returns the lParam
value of a specified list item
Parameters: hListview
,nItemIndex
ListViewGetItemRect
Description: Retrieves the bounding rectangle for a specific list item in the listview
Parameters: hListview
, nItemIndex
, dwPtrRect
ListViewGetItemSelectedState
Description: Returns the selected state of a specified list item
Parameters: hListview
, nItemIndex
ListViewGetItemState
Description: Returns the state of a specified list item
Parameters: hListview
, nItemIndex
, dwState
ListViewGetItemText
Description: Returns the text of a specified list item
Parameters: hListview
, nItemIndex
, nSubItemIndex
, lpszItemText
, lpszItemTextSize
ListViewGetSelected
Description: Returns the currently selected list item in a listview
Parameters: hListview
ListViewGetSubItemClicked
Description: Determines the sub item that was clicked
Parameters: hListview
, lpdwItem
, lpdwSubItem
ListViewInsertColumn
Description: Inserts a column into a listview
Parameters: hListview
, dwFormat
, dwWidth
, lpszColumnText
ListViewInsertColumnImage
Description: Inserts a column into a listview with a specifc column for images to be shown based on linked imagelist index
Parameters: hListview
, dwFormat
, dwWidth
, lpszColumnText
, nImageListIndex
ListViewInsertItem
Description: Inserts a list item into the listview
Parameters: hListview
, nItemIndex
, lpszItemText
, nImageListIndex
ListViewInsertSubItem
Description: Inserts a list sub item into a listview. Requires a list item to have inserted first.
Parameters: hListview
, nItemIndex
, nSubItemIndex
, lpszSubItemText
ListViewIsRowHighlighted
Description: Returns TRUE
if the specified list item is highlighted, otherwise FALSE
Parameters: ,hListview
, nItemIndex
ListViewIsRowSelected
Description: Returns TRUE
if the specified list item is selected, otherwise FALSE
Parameters: hListview
, nItemIndex
ListViewLinkImagelist
Description: Links an imagelist control with the listview control
Parameters: ,hListview
, hImagelist
, ImagelistType
ListViewSelectAll
Description: Selects all list items in listview
Parameters: hListview
ListViewSetColumnText
Description: Sets text for a specified column
Parameters: hListview
, nColumnIndex
, lpszColumnText
ListViewSetItemImage
Description: Sets icon image (from an imagelist) for a specified list item
Parameters: hListview
, nItemIndex
, nImageListIndex
ListViewSetItemParam
Description: Sets lParam
value for a specified list item
Parameters: hListview
, nItemIndex
, ParamValue
ListViewSetItemState
Description: Sets the state of a specified list item
Parameters: hListview
, nItemIndex
, dwStateMask
, dwState
ListViewSetItemText
Description: Sets the text of a specified list item
Parameters: hListview
, nItemIndex
, nSubItemIndex
, lpszItemText
ListViewSetSelected
Description: Sets the specified list item to selected state
Parameters: hListview
, nItemIndex
ListViewShowItemContextMenu
Description: Show popup/context menu in listview, and optionally selects (bRequiresSelection
) currently selected and focused item if required for processing.
Parameters: hWin
, hListview
, hRightClickMenu
, bRequiresSelection
ListViewStyleBorderSelect
Description: Turns on border select style for the listview
Parameters: hListview
ListViewStyleCheckboxes
Description: Turns on checkbox style for the listview
Parameters: hListview
ListViewStyleDoubleBuffer
Description: Double buffering for the listview
Parameters: hListview
ListViewStyleFullRowSelect
Description: Full row select style for the listview
Parameters: hListview
ListViewStyleGridlines
Description: Gridlines for the listview
Parameters: hListview
ListViewStyleHdrDragDrop
Description: Prevents header moving in a listview
Parameters: hListview
ListViewStyleNoColumnResize
Description: Prevents columns being resized in a listview
Parameters: hListview
ListViewStyleSubItemImages
Description: Allows sub items to have images
Parameters: hListview
ListViewStyleToggle
Description: Toggles a specified style for a listview
Parameters: hListview
, dwExStyle
ListViewSubClassData
Description: Sets subclass data for a listview that is subclassed
Parameters: hListview
, lpdwLVSubClassData
ListViewSubClassProc
Description: Subclasses a listview
Parameters: hListview
, lpdwLVSubClassProc