MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Messages of ListView control

Macros

#define LVM_ADDITEM   0xF110
 Adds a item to listview, this item is also called a row. More...
 
#define LVM_FILLSUBITEM   0xF111
 Set the content of a subitem, indentified by rows and columns. More...
 
#define LVM_ADDCOLUMN   0xF112
 Adds a new column to listview, identified by column. More...
 
#define LVM_DELITEM   0xF113
 Deletes an item form listview. More...
 
#define LVM_CLEARSUBITEM   0xF114
 Clears the content of a subitem. More...
 
#define LVM_DELCOLUMN   0xF115
 Deletes a column from listview, all subitem in this column will be removed. More...
 
#define LVM_COLSORT   0xF116
 Sorts all subitems according to a certain column. More...
 
#define LVM_SETSUBITEMCOLOR   0xF117
 Set the text color of a subitem. More...
 
#define LVM_FINDITEM   0xF118
 Searchs a item. More...
 
#define LVM_GETSUBITEMTEXT   0xF119
 Retrieve the text of a listview subitem. More...
 
#define LVM_GETITEMCOUNT   0xF11A
 Get the number of all the items(rows) in a listview. More...
 
#define LVM_GETCOLUMNCOUNT   0xF11B
 Get the number of all the columns in listview. More...
 
#define LVM_GETSELECTEDITEM   0xF11C
 Get the current selected item. More...
 
#define LVM_DELALLITEM   0xF11D
 Removes all the items in listview. More...
 
#define LVM_MODIFYHEAD   0xF11E
 Changes the title of a column. More...
 
#define LVM_SELECTITEM   0xF11F
 Selects an item. More...
 
#define LVM_SHOWITEM   0xF120
 Makes the item is entirely visible in the list view. More...
 
#define LVM_GETSUBITEMLEN   0xF121
 Get the text length of the subitem. More...
 
#define LVM_SETCOLUMN   0xF122
 Set the attributes of a list view column. More...
 
#define LVM_SETSUBITEMTEXT   0xF123
 Set the text of a subitem. More...
 
#define LVM_SETSUBITEM   0xF124
 Set the attributes of a subitem. More...
 
#define LVM_GETCOLUMN   0xF125
 Retrieve the information about a listview column. More...
 
#define LVM_GETCOLUMNWIDTH   0xF126
 Retrieve the width of a listview column. More...
 
#define LVM_GETITEM   0xF127
 Retrieve the item's attributes. More...
 
#define LVM_GETITEMSTATE   0xF128
 Retrieve the state of a listview item. More...
 
#define LVM_GETSELECTEDCOLUMN   0xF129
 Retrieve the index of the currently selected column of a listview. More...
 
#define LVM_GETSELECTEDCOUNT   0xF130
 Retrieve the number of the selected items in a listview. More...
 
#define LVM_GETTOPVISIBLE   0xF131
 Retrieve the index of the topmost visible item in a listview. More...
 
#define LVM_NULL   0xF132
 reserved. More...
 
#define LVM_SETITEMSTATE   0xF133
 reserved. More...
 
#define LVM_SORTITEMS   0xF134
 Uses an application-defined comparision function to sort the items. More...
 
#define LVM_SETITEMHEIGHT   0xF135
 Changes the height of a item. More...
 
#define LVM_SETHEADHEIGHT   0xF136
 Changes the height of the header. More...
 
#define LVM_GETITEMADDDATA   0xF137
 Get the 32-bit data value associated with an item. More...
 
#define LVM_SETITEMADDDATA   0xF138
 Associates a 32-bit data value with an item. More...
 
#define LVM_CHOOSEITEM   0xF139
 Selects and shows an item. More...
 
#define LVM_SETSTRCMPFUNC   0xF140
 Set the STRCMP function used to sort items. More...
 
#define LVM_GETRELATEDITEM   0xF141
 Retrives related item of specific item. More...
 
#define LVM_FOLDITEM   0xF142
 Folds or unfolds an item. More...
 
#define LVM_SETCUSTOMDRAW   0xF143
 Set the customized drawing functions of listview. More...
 
#define LVM_GETSELECTEDITEMRECT   0xF144
 Get the selected item's Rectangle. More...
 

Detailed Description

Macro Definition Documentation

◆ LVM_ADDCOLUMN

#define LVM_ADDCOLUMN   0xF112

Adds a new column to listview, identified by column.

wParam = 0;
lParam =(LPARAM)p;
Parameters
pPointes to a LVCOLUMN structure that contains the information about the new column to be added.

Definition at line 447 of file listview.h.

◆ LVM_ADDITEM

#define LVM_ADDITEM   0xF110

Adds a item to listview, this item is also called a row.

HLVITEM parent;
wParam = (WPARAM)parent;
p =(LPARAM)lParam;
Parameters
pPointes to a LVITEM structure that contains the information of the new item to be added. nItem member of the LVITEM struct speficied the item position in its parent item, beginning with zero.
parentHandle of the parent item into which the new item is about to insert. If parent equals zero, the parent item will be the root of listview.
Returns
Returns the handle of the new item if successful, or 0 otherwise.

Definition at line 406 of file listview.h.

◆ LVM_CHOOSEITEM

#define LVM_CHOOSEITEM   0xF139

Selects and shows an item.

int nRow;
wParam = (WPARAM)nRow;
lParam = (LPARAM)pi;
Parameters
nRowIf pi is zero, nRow specified the row index of the target item to choose.
piHandle of the target item.
Returns
Always returns 0.

Definition at line 1087 of file listview.h.

◆ LVM_CLEARSUBITEM

#define LVM_CLEARSUBITEM   0xF114

Clears the content of a subitem.

lParam = (LPARAM)p;
wParam = (WPARAM)pi;
Parameters
pPointes to a PLVSUBITEM structure that contains the information of the subitem to clear. If pi is not zero, nItem member of this struct has no meaning.
piHandle of the target item. If pi equals zero, the row position of the target item is specified by nItem member of p structure.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 491 of file listview.h.

◆ LVM_COLSORT

#define LVM_COLSORT   0xF116

Sorts all subitems according to a certain column.

int ncol;
wParam = (WPARAM)ncol;
lParam = 0;
Parameters
ncolIndex of the column.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 525 of file listview.h.

◆ LVM_DELALLITEM

#define LVM_DELALLITEM   0xF11D

Removes all the items in listview.

LVM_DEALLITEM
wParam = 0;
lParam = 0;
Returns
Returns TRUE if successful, or FALSE otherwise.

Definition at line 654 of file listview.h.

◆ LVM_DELCOLUMN

#define LVM_DELCOLUMN   0xF115

Deletes a column from listview, all subitem in this column will be removed.

int nCols;
wParam = (WPARAM)nCol;
lParam = 0;
Parameters
nColThe index of the column to be removed.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 508 of file listview.h.

◆ LVM_DELITEM

#define LVM_DELITEM   0xF113

Deletes an item form listview.

int nRow;
wParam = (WPARAM)nRow;
lParam = (LPARAM)pi;
Parameters
nRowIf pi is zero, nRow specified the row index of the target item to delete.
piHandle of the target item.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 467 of file listview.h.

◆ LVM_FILLSUBITEM

#define LVM_FILLSUBITEM   0xF111

Set the content of a subitem, indentified by rows and columns.

lParam = (LPARAM)p;
wParam = (WPARAM)pi;
Parameters
pPointes to a PLVSUBITEM structure that contains the information of the subitem to set. If pi is not zero, nItem member of this struct has no meaning.
piHandle of the target item. If pi equals zero, the row position of the target item is specified by nItem member of p structure.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 430 of file listview.h.

◆ LVM_FINDITEM

#define LVM_FINDITEM   0xF118

Searchs a item.

HLVITEM parent;
wParam = (WPARAM)parent;
lParam = (LPARAM)plvfi;
Parameters
parentHandle of the item to search in.
plvfiPoints to a LVFINDINFO structure containing information for searching. If parent is zero, iStart member of plvfi specifieds the start position on search.
Returns
Returns the handle of the found item if successful, or 0 otherwise.

Definition at line 568 of file listview.h.

◆ LVM_FOLDITEM

#define LVM_FOLDITEM   0xF142

Folds or unfolds an item.

int bFold;
wParam = (WPARAM)bFold;
lParam = (LPARAM)pi;
Parameters
bFoldTo fold or to unfold, TRUE is to fold.
piHandle of the target item.
Returns
Always returns 0.

Definition at line 1173 of file listview.h.

◆ LVM_GETCOLUMN

#define LVM_GETCOLUMN   0xF125

Retrieve the information about a listview column.

int nCol;
PLVCOLUMN pcol;
wParam = (WPARAM)nCol;
lParam = (LPARAM)pcol;
Parameters
nColIndex of the column.
pcolPoints to a LVCOLUMN structure for retrieving the information about the column.
Returns
Returns TRUE if successful, or FALSE otherwise.

Definition at line 823 of file listview.h.

◆ LVM_GETCOLUMNCOUNT

#define LVM_GETCOLUMNCOUNT   0xF11B

Get the number of all the columns in listview.

wParam = 0;
lParam = 0;
Returns
Returns the number of all the columns in listview.

Definition at line 624 of file listview.h.

◆ LVM_GETCOLUMNWIDTH

#define LVM_GETCOLUMNWIDTH   0xF126

Retrieve the width of a listview column.

int nCol;
wParam = (WPARAM)nCol;
lParam = (LPARAM)0;
Parameters
nColIndex of the column.
Returns
Returns the column width if successful, or -1 otherwise.

Definition at line 841 of file listview.h.

◆ LVM_GETITEM

#define LVM_GETITEM   0xF127

Retrieve the item's attributes.

LVITEM item_info;
wParam = (WPARAM)pi;
lParam = (LPARAM)&item_info;
Parameters
piHandle of the target item.
item_infoUsed for storing the target item's attributes. If pi is zero, nItem field of item_info specified the row index of the target item to get.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 863 of file listview.h.

◆ LVM_GETITEMADDDATA

#define LVM_GETITEMADDDATA   0xF137

Get the 32-bit data value associated with an item.

An application sends an LVM_GETITEMADDDATA message to a listview to get the 32-bit data value stored for the item with index of wParam; By default this is zero. An application must set the item data value by sending an LVM_SETITEMADDDATA message to the listview for this value to have meaning.

int index;
wParam = (WPARAM)index;
lParam = (LPARAM)pi;
Parameters
piHandle of the target item.
indexThe index of the specified item. If pi is not zero, use pi instead.
Returns
The 32-bit data value associated with an item on success, otherwise -1 to indicate an error.

Definition at line 1041 of file listview.h.

◆ LVM_GETITEMCOUNT

#define LVM_GETITEMCOUNT   0xF11A

Get the number of all the items(rows) in a listview.

wParam = 0;
lParam = 0;
Returns
The number of the items.

Definition at line 609 of file listview.h.

◆ LVM_GETITEMSTATE

#define LVM_GETITEMSTATE   0xF128

Retrieve the state of a listview item.

UINT mask;
wParam = (WPARAM)pi;
lParam = (LPARAM)mask;
Parameters
piHandle of the target item.
maskContains state information to retrieve, can be the combination of the following values.
Returns
Returns the current state of the specified item.

Definition at line 884 of file listview.h.

◆ LVM_GETRELATEDITEM

#define LVM_GETRELATEDITEM   0xF141

Retrives related item of specific item.

int related;
GHANDLE item;
wParam = (WPARAM)related;
lParam = (LPARAM)item;
Parameters
relatedA integer which indicates the relationship between the item to retrive and the specified item, can be one of the following values:
  • TVIR_PARENT
    To retrive the parent item of the specified item.
  • TVIR_FIRSTCHILD
    To retrive the first child item of the specified item.
  • TVIR_NEXTSIBLING
    To retrive the next sibling item of the specified item.
  • TVIR_PREVSIBLING
    To retrive the previous sibling item of the specified item.
itemThe handle to the known item.
Returns
The handle of the related item on success, otherwise 0.

Definition at line 1153 of file listview.h.

◆ LVM_GETSELECTEDCOLUMN

#define LVM_GETSELECTEDCOLUMN   0xF129

Retrieve the index of the currently selected column of a listview.

wParam = 0;
lParam = 0;
Returns
Returns the index of the selected column.

Definition at line 899 of file listview.h.

◆ LVM_GETSELECTEDCOUNT

#define LVM_GETSELECTEDCOUNT   0xF130

Retrieve the number of the selected items in a listview.

wParam = 0;
lParam = 0;
Returns
Returns the number of the selected items.

Definition at line 914 of file listview.h.

◆ LVM_GETSELECTEDITEM

#define LVM_GETSELECTEDITEM   0xF11C

Get the current selected item.

wParam = 0;
lParam = 0;
Returns
Returns the handle of the current selected item.

Definition at line 639 of file listview.h.

◆ LVM_GETSELECTEDITEMRECT

#define LVM_GETSELECTEDITEMRECT   0xF144

Get the selected item's Rectangle.

RECT * prcItem
wPram = (WPARAM)0
lParam = (LPARAM)prcItem
Parameters
prcItemPointer to a RECT which recieve the Item Rectangle
Returns
If got, return TRUE, otherwise return FALSE

Definition at line 1209 of file listview.h.

◆ LVM_GETSUBITEMLEN

#define LVM_GETSUBITEMLEN   0xF121

Get the text length of the subitem.

lParam = (LPARAM)p;
wParam = (WPARAM)pi;
Parameters
pPointes to a PLVSUBITEM structure that contains the information of the subitem to set. If pi is not zero, nItem member of this struct has no meaning.
piHandle of the target item. If pi equals zero, the row position of the target item is specified by nItem member of p structure.
Returns
Returns the text length if successful, or LV_ERR otherwise.

Definition at line 736 of file listview.h.

◆ LVM_GETSUBITEMTEXT

#define LVM_GETSUBITEMTEXT   0xF119

Retrieve the text of a listview subitem.

lParam = (LPARAM)p;
wParam = (WPARAM)pi;
Parameters
pPointes to a PLVSUBITEM structure that contains the information of the subitem to set. If pi is not zero, nItem member of this struct has no meaning.
piHandle of the target item. If pi equals zero, the row position of the target item is specified by nItem member of p structure.
Returns
Returns len of the text if successful, -1 otherwise.

Definition at line 594 of file listview.h.

◆ LVM_GETTOPVISIBLE

#define LVM_GETTOPVISIBLE   0xF131

Retrieve the index of the topmost visible item in a listview.

wParam = 0;
lParam = 0;
Returns
Returns the index of the topmost visible item if successful, or zero.

Definition at line 929 of file listview.h.

◆ LVM_MODIFYHEAD

#define LVM_MODIFYHEAD   0xF11E

Changes the title of a column.

PLVCOLUMN pcol;
wParam = 0;
lParam = (LPARAM)pcol;
Parameters
pcolPointer to a LVCOLUMN struct.
Returns
Returns LV_OKAY if successfull, or LV_ERR otherwise.

Definition at line 671 of file listview.h.

◆ LVM_NULL

#define LVM_NULL   0xF132

reserved.

Definition at line 935 of file listview.h.

◆ LVM_SELECTITEM

#define LVM_SELECTITEM   0xF11F

Selects an item.

int nRow;
wParam = (WPARAM)nRow;
lParam = (LPARAM)pi;
Parameters
nRowIf pi is zero, nRow specified the row index of the target item to select.
piHandle of the target item.
Returns
Always returns 0.

Definition at line 691 of file listview.h.

◆ LVM_SETCOLUMN

#define LVM_SETCOLUMN   0xF122

Set the attributes of a list view column.

PLVCOLUMN pcol;
wParam = 0;
lParam = (LPARAM)pcol;
Parameters
pcolPoints to a LVCOLUMN structure containing the new column information.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 754 of file listview.h.

◆ LVM_SETCUSTOMDRAW

#define LVM_SETCUSTOMDRAW   0xF143

Set the customized drawing functions of listview.

wParam = (WPARAM)0;
lParam = (LPARAM)&myFuncs;
Parameters
myFuncsPointer to a customized drawing functions structure.
Returns
Always returns 0.

Definition at line 1191 of file listview.h.

◆ LVM_SETHEADHEIGHT

#define LVM_SETHEADHEIGHT   0xF136

Changes the height of the header.

int height;
wParam = (WPARAM)height;
lParam = 0;
Parameters
heightThe new height of the header.
Returns
Returns TRUE if successful, or FALSE otherwise.

Definition at line 1014 of file listview.h.

◆ LVM_SETITEMADDDATA

#define LVM_SETITEMADDDATA   0xF138

Associates a 32-bit data value with an item.

An application sends an LVM_SETITEMADDDATA message to associate a 32-bit data value specified in the lParam parameter with an item in the listview.

DWORD addData;
wParam = (WPARAM)pi;
lParam = (LPARAM)addData;
Parameters
piHandle of the target item.
addDataThe 32-bit data value which will associated with the item.
Returns
One of the following values:
  • LV_OKAY
    Success
  • LV_ERR
    Invalid item index

Definition at line 1067 of file listview.h.

◆ LVM_SETITEMHEIGHT

#define LVM_SETITEMHEIGHT   0xF135

Changes the height of a item.

int height;
wParam = (WPARAM)pi;
lParam = (LPARAM)height;
Parameters
heightThe new height of the item.
piHandle of the target item.
Returns
Returns TRUE if successful, or FALSE otherwise.

Definition at line 997 of file listview.h.

◆ LVM_SETITEMSTATE

#define LVM_SETITEMSTATE   0xF133

reserved.

Definition at line 941 of file listview.h.

◆ LVM_SETSTRCMPFUNC

#define LVM_SETSTRCMPFUNC   0xF140

Set the STRCMP function used to sort items.

An application sends a LVM_SETSTRCMPFUNC message to set a new STRCMP function to sort items in the Listview control.

Note that you should send this message before adding any item to the Listview control.

static int my_strcmp (const char* s1, const char* s2, size_t n)
{
...
return 0;
}
wParam = 0;
lParam = (LPARAM) my_strcmp;
Parameters
my_strcmpYour own function to compare two strings.
Returns
One of the following values:
  • 0
    Success
  • -1
    Not an empty TreeView control

Definition at line 1118 of file listview.h.

◆ LVM_SETSUBITEM

#define LVM_SETSUBITEM   0xF124

Set the attributes of a subitem.

lParam = (LPARAM)p;
wParam = (WPARAM)pi;
Parameters
pPointes to a PLVSUBITEM structure that contains the information of the subitem to set. If pi is not zero, nItem member of this struct has no meaning.
piHandle of the target item. If pi equals zero, the row position of the target item is specified by nItem member of p structure.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 802 of file listview.h.

◆ LVM_SETSUBITEMCOLOR

#define LVM_SETSUBITEMCOLOR   0xF117

Set the text color of a subitem.

lParam = (LPARAM)p;
wParam = (WPARAM)pi;
Parameters
pPointes to a PLVSUBITEM structure that contains the information of the subitem to set. If pi is not zero, nItem member of this struct has no meaning.
piHandle of the target item. If pi equals zero, the row position of the target item is specified by nItem member of p structure.
Returns
Always returns 0;

Definition at line 549 of file listview.h.

◆ LVM_SETSUBITEMTEXT

#define LVM_SETSUBITEMTEXT   0xF123

Set the text of a subitem.

wParam = (WPARAM)pi;
lParam = (LPARAM)p;
Parameters
pPointes to a PLVSUBITEM structure that contains the information of the subitem to set. If pi is not zero, nItem member of this struct has no meaning.
piHandle of the target item. If pi equals zero, the row position of the target item is specified by nItem member of p structure.
Returns
Returns LV_OKAY if successful, or LV_ERR otherwise.

Definition at line 778 of file listview.h.

◆ LVM_SHOWITEM

#define LVM_SHOWITEM   0xF120

Makes the item is entirely visible in the list view.

int nRow;
wParam = (WPARAM)nRow;
lParam = (LPARAM)pi;
Parameters
nRowIf pi is zero, nRow specified the row index of the target item to show.
piHandle of the target item.
Returns
Always returns 0.

Definition at line 712 of file listview.h.

◆ LVM_SORTITEMS

#define LVM_SORTITEMS   0xF134

Uses an application-defined comparision function to sort the items.

PLVSORTDATA sortData;
PFNLVCOMPARE pfnCompare;
wParam = (WPARAM)sortData;
lParam = (LPARAM)pfnCompare;
Parameters
sortDataSorting datas passed to the comparision function.
pfnComparePointer to the application-defined comparision function. The comparision function is called during the sort operation each time the relative order of the two items needs to be compared.

The comparison function must return a negative value if the first item precedes the second, a positive value if the first item follows the second, or zero if the two items are equivalent.

The comparision function has the following form:

int CompareFunction(int nItem1, int nItem2, PLVSORTDATA sortData);

nItem1 is the handle of the first item, nItem2 is the handle of the second item, and sortData is passed to CompareFunction as the third parameter.

Returns
Returns TRUE if successful, or FALSE otherwise.

Definition at line 977 of file listview.h.

LVM_FILLSUBITEM
#define LVM_FILLSUBITEM
Set the content of a subitem, indentified by rows and columns.
Definition: listview.h:430
LVM_GETTOPVISIBLE
#define LVM_GETTOPVISIBLE
Retrieve the index of the topmost visible item in a listview.
Definition: listview.h:929
_LVCUSTOMDRAWFUNCS
Definition: listview.h:198
LVM_GETSUBITEMLEN
#define LVM_GETSUBITEMLEN
Get the text length of the subitem.
Definition: listview.h:736
_LVFINDINFO
Definition: listview.h:256
DWORD
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
Definition: common.h:604
HLVITEM
GHANDLE HLVITEM
List view item handle.
Definition: listview.h:97
LVM_CLEARSUBITEM
#define LVM_CLEARSUBITEM
Clears the content of a subitem.
Definition: listview.h:491
_LVSORTDATA
Definition: listview.h:172
LVM_FOLDITEM
#define LVM_FOLDITEM
Folds or unfolds an item.
Definition: listview.h:1173
WPARAM
UINT_PTR WPARAM
A type definition for the first message paramter.
Definition: common.h:706
GHANDLE
PVOID GHANDLE
General handle.
Definition: common.h:402
UINT
unsigned int UINT
A type definition for unsigned integer.
Definition: common.h:664
LVM_GETSUBITEMTEXT
#define LVM_GETSUBITEMTEXT
Retrieve the text of a listview subitem.
Definition: listview.h:594
_LVCOLUMN
Definition: listview.h:229
LVM_GETITEMSTATE
#define LVM_GETITEMSTATE
Retrieve the state of a listview item.
Definition: listview.h:884
LVM_SORTITEMS
#define LVM_SORTITEMS
Uses an application-defined comparision function to sort the items.
Definition: listview.h:977
_RECT
Definition: common.h:936
LVM_DELITEM
#define LVM_DELITEM
Deletes an item form listview.
Definition: listview.h:467
LVM_SETCUSTOMDRAW
#define LVM_SETCUSTOMDRAW
Set the customized drawing functions of listview.
Definition: listview.h:1191
LVM_GETCOLUMN
#define LVM_GETCOLUMN
Retrieve the information about a listview column.
Definition: listview.h:823
LVM_SHOWITEM
#define LVM_SHOWITEM
Makes the item is entirely visible in the list view.
Definition: listview.h:712
LVM_GETITEMCOUNT
#define LVM_GETITEMCOUNT
Get the number of all the items(rows) in a listview.
Definition: listview.h:609
LVM_GETSELECTEDITEMRECT
#define LVM_GETSELECTEDITEMRECT
Get the selected item's Rectangle.
Definition: listview.h:1209
_LVITEM
Definition: listview.h:109
LVM_SETITEMHEIGHT
#define LVM_SETITEMHEIGHT
Changes the height of a item.
Definition: listview.h:997
LVM_MODIFYHEAD
#define LVM_MODIFYHEAD
Changes the title of a column.
Definition: listview.h:671
LVM_SELECTITEM
#define LVM_SELECTITEM
Selects an item.
Definition: listview.h:691
LVM_SETSUBITEMCOLOR
#define LVM_SETSUBITEMCOLOR
Set the text color of a subitem.
Definition: listview.h:549
LVM_GETITEMADDDATA
#define LVM_GETITEMADDDATA
Get the 32-bit data value associated with an item.
Definition: listview.h:1041
_LVSUBITEM
Definition: listview.h:145
LVM_SETCOLUMN
#define LVM_SETCOLUMN
Set the attributes of a list view column.
Definition: listview.h:754
LVM_GETRELATEDITEM
#define LVM_GETRELATEDITEM
Retrives related item of specific item.
Definition: listview.h:1153
LVM_SETHEADHEIGHT
#define LVM_SETHEADHEIGHT
Changes the height of the header.
Definition: listview.h:1014
LVM_GETCOLUMNWIDTH
#define LVM_GETCOLUMNWIDTH
Retrieve the width of a listview column.
Definition: listview.h:841
LVM_SETITEMADDDATA
#define LVM_SETITEMADDDATA
Associates a 32-bit data value with an item.
Definition: listview.h:1067
LVM_GETITEM
#define LVM_GETITEM
Retrieve the item's attributes.
Definition: listview.h:863
LVM_ADDITEM
#define LVM_ADDITEM
Adds a item to listview, this item is also called a row.
Definition: listview.h:406
LVM_COLSORT
#define LVM_COLSORT
Sorts all subitems according to a certain column.
Definition: listview.h:525
LVM_FINDITEM
#define LVM_FINDITEM
Searchs a item.
Definition: listview.h:568
LVM_CHOOSEITEM
#define LVM_CHOOSEITEM
Selects and shows an item.
Definition: listview.h:1087
LVM_SETSUBITEMTEXT
#define LVM_SETSUBITEMTEXT
Set the text of a subitem.
Definition: listview.h:778
PFNLVCOMPARE
int(* PFNLVCOMPARE)(HLVITEM nItem1, HLVITEM nItem2, PLVSORTDATA sortData)
Definition: listview.h:185
LVM_ADDCOLUMN
#define LVM_ADDCOLUMN
Adds a new column to listview, identified by column.
Definition: listview.h:447
LVM_SETSTRCMPFUNC
#define LVM_SETSTRCMPFUNC
Set the STRCMP function used to sort items.
Definition: listview.h:1118
LVM_GETCOLUMNCOUNT
#define LVM_GETCOLUMNCOUNT
Get the number of all the columns in listview.
Definition: listview.h:624
LVM_GETSELECTEDCOLUMN
#define LVM_GETSELECTEDCOLUMN
Retrieve the index of the currently selected column of a listview.
Definition: listview.h:899
LPARAM
UINT_PTR LPARAM
A type definition for the second message paramter.
Definition: common.h:712
LVM_DELCOLUMN
#define LVM_DELCOLUMN
Deletes a column from listview, all subitem in this column will be removed.
Definition: listview.h:508
LVM_GETSELECTEDCOUNT
#define LVM_GETSELECTEDCOUNT
Retrieve the number of the selected items in a listview.
Definition: listview.h:914
LVM_GETSELECTEDITEM
#define LVM_GETSELECTEDITEM
Get the current selected item.
Definition: listview.h:639
LVM_SETSUBITEM
#define LVM_SETSUBITEM
Set the attributes of a subitem.
Definition: listview.h:802