Documentation
Download compressed HTML Help
     

ListView functions


Functions

RANOREXCORE_API int RxListViewGetItemCount (HWND hWnd)
 The function retrieves the number of items in the list view.
RANOREXCORE_API char * RxListViewGetItemText (HWND hWnd, int index, int subItem=0)
 The function retrieves the text of a list view item or subitem.
RANOREXCORE_API BOOL RxListViewIsItemChecked (HWND hWnd, int index)
 The function retrieves the check state of a list view item.
RANOREXCORE_API BOOL RxListViewCheckItem (HWND hWnd, int index)
 The function sets the check state of a list view item.
RANOREXCORE_API BOOL RxListViewUncheckItem (HWND hWnd, int index)
 The function unchecks the check state of a list view item.
RANOREXCORE_API int RxListViewGetItemImageIndex (HWND hWnd, int index, int subItem=0)
 The function retrieves the image index of a list view item or subitem.
RANOREXCORE_API int RxListViewSelectItem (HWND hWnd, char *itemName)
 The function selects an item of the list view.
RANOREXCORE_API int RxListViewDeselectItem (HWND hWnd, char *itemName)
 The function deselects an item of the list view.
RANOREXCORE_API int RxListViewSelectItemIndex (HWND hWnd, int index)
 The function selects an item of the list view.
RANOREXCORE_API int RxListViewDeselectItemIndex (HWND hWnd, int index)
 The function deselects an item of the list view.
RANOREXCORE_API BOOL RxListViewGetItemPosition (HWND hWnd, int index, int *left, int *top, int *right, int *bottom)
 The function retrieves the current position of the bounding rectangle of the specified listview item. The positions are given in screen coordinates that are relative to the upper-left corner of the screen.
RANOREXCORE_API BOOL RxListViewGetSubItemPosition (HWND hWnd, int index, int subItem, BOOL iconOnly, int *left, int *top, int *right, int *bottom)
 The function retrieves the current position of the bounding rectangle of the specified listview subitem. The positions are given in screen coordinates that are relative to the upper-left corner of the screen.
RANOREXCORE_API int RxListViewGetColumnCount (HWND hWnd)
 The function retrieves the number of column in the list view.
RANOREXCORE_API char * RxListViewGetColumnText (HWND hWnd, int index)
 The function retrieves the text of a list view column.
RANOREXCORE_API int RxListViewClickColumn (HWND hWnd, char *headerName)
 The function clicks the specified column of the list view.

Detailed Description

ListView functions

The ListView control displays a list of items with icons. The right pane of Windows Explorer is f.e. a list view control. The control has four view modes: LargeIcon, SmallIcon, List, and Details. The LargeIcon mode displays large icons next to the item tex.

Documentation based on Ranorex Version 1.5.0 - www.ranorex.com