MiniGUI API Reference (MiniGUI-Standalone)
v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
|
Go to the documentation of this file.
62 #ifndef EXT_LISTVIEW_H
63 #define EXT_LISTVIEW_H
84 #define CTRL_LISTVIEW ("ListView")
91 #define LV_ERRSPACE (-2)
103 #define LVIF_FOLD 0x0001L
137 #define LVFLAG_BITMAP 0x0001
139 #define LVFLAG_ICON 0x0002
209 #define LVCF_LEFTALIGN 0x0000
211 #define LVCF_RIGHTALIGN 0x0001
213 #define LVCF_CENTERALIGN 0x0002
215 #define LVCF_TREEVIEW 0x0004
219 #define LVHF_LEFTALIGN 0x0000
221 #define LVHF_RIGHTALIGN 0x0004
223 #define LVHF_CENTERALIGN 0x0008
251 #define LVFF_TEXT 0x0001
253 #define LVFF_ADDDATA 0x0002
333 #define LVS_UPNOTIFY 0x0001L
334 #define LVS_NOTIFY LVS_UPNOTIFY
342 #define LVS_SORT 0x0002L
348 #define LVS_MULTIPLESEL 0x0008L
354 #define LVS_CHECKBOX 0x1000L
362 #define LVS_AUTOCHECK 0x2000L
368 #define LVS_AUTOCHECKBOX (LVS_CHECKBOX | LVS_AUTOCHECK)
374 #define LVS_TREEVIEW 0x4000L
376 #define LVS_WITHGRID 0x8000L
406 #define LVM_ADDITEM 0xF110
430 #define LVM_FILLSUBITEM 0xF111
447 #define LVM_ADDCOLUMN 0xF112
467 #define LVM_DELITEM 0xF113
491 #define LVM_CLEARSUBITEM 0xF114
508 #define LVM_DELCOLUMN 0xF115
525 #define LVM_COLSORT 0xF116
549 #define LVM_SETSUBITEMCOLOR 0xF117
568 #define LVM_FINDITEM 0xF118
594 #define LVM_GETSUBITEMTEXT 0xF119
609 #define LVM_GETITEMCOUNT 0xF11A
624 #define LVM_GETCOLUMNCOUNT 0xF11B
639 #define LVM_GETSELECTEDITEM 0xF11C
654 #define LVM_DELALLITEM 0xF11D
671 #define LVM_MODIFYHEAD 0xF11E
691 #define LVM_SELECTITEM 0xF11F
712 #define LVM_SHOWITEM 0xF120
736 #define LVM_GETSUBITEMLEN 0xF121
754 #define LVM_SETCOLUMN 0xF122
778 #define LVM_SETSUBITEMTEXT 0xF123
802 #define LVM_SETSUBITEM 0xF124
823 #define LVM_GETCOLUMN 0xF125
841 #define LVM_GETCOLUMNWIDTH 0xF126
863 #define LVM_GETITEM 0xF127
884 #define LVM_GETITEMSTATE 0xF128
899 #define LVM_GETSELECTEDCOLUMN 0xF129
914 #define LVM_GETSELECTEDCOUNT 0xF130
929 #define LVM_GETTOPVISIBLE 0xF131
935 #define LVM_NULL 0xF132
941 #define LVM_SETITEMSTATE 0xF133
977 #define LVM_SORTITEMS 0xF134
997 #define LVM_SETITEMHEIGHT 0xF135
1014 #define LVM_SETHEADHEIGHT 0xF136
1041 #define LVM_GETITEMADDDATA 0xF137
1067 #define LVM_SETITEMADDDATA 0xF138
1087 #define LVM_CHOOSEITEM 0xF139
1118 #define LVM_SETSTRCMPFUNC 0xF140
1120 #define LVIR_PARENT 1
1121 #define LVIR_FIRSTCHILD 2
1122 #define LVIR_NEXTSIBLING 3
1123 #define LVIR_PREVSIBLING 4
1153 #define LVM_GETRELATEDITEM 0xF141
1173 #define LVM_FOLDITEM 0xF142
1191 #define LVM_SETCUSTOMDRAW 0xF143
1209 #define LVM_GETSELECTEDITEMRECT 0xF144
1223 #define LVN_CLICKED 1
1230 #define LVN_SELCHANGE 2
1237 #define LVN_ITEMRDOWN 4
1244 #define LVN_ITEMRUP 5
1251 #define LVN_HEADRDOWN 6
1258 #define LVN_HEADRUP 7
1264 #define LVN_KEYDOWN 8
1272 #define LVN_ITEMDBCLK 9
1279 #define LVN_ITEMCLK 10
1286 #define LVN_COLCHANGE 11
1293 #define LVN_FOLDED 12
1300 #define LVN_UNFOLDED 13
struct _LVCOLUMN LVCOLUMN
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
GHANDLE HWND
Handle to main window or control.
GHANDLE HDC
Handle to device context.
GHANDLE HLVITEM
List view item handle.
UINT_PTR WPARAM
A type definition for the first message paramter.
LVNM_NORMAL LVNM_HEADRDOWN
PVOID GHANDLE
General handle.
LVNM_ITEMRDOWN * PLVNM_ITEMRDOWN
struct _LVSUBITEM LVSUBITEM
LVNM_NORMAL LVNM_ITEMRDOWN
LVNM_KEYDOWN * PLVNM_KEYDOWN
PFN_LVHDR_ITEMDRAWFUNC pfnDrawHdrItem
struct _LVSORTDATA LVSORTDATA
LVNM_ITEMRUP * PLVNM_ITEMRUP
void(* PFN_LVHDR_ITEMDRAWFUNC)(HWND hWnd, int idx, HDC hdc, RECT *rcDraw)
struct _LVFINDINFO LVFINDINFO
int(* PFNLVCOMPARE)(HLVITEM nItem1, HLVITEM nItem2, PLVSORTDATA sortData)
struct _LVNM_NORMAL LVNM_NORMAL
LVNM_NORMAL * PLVNM_NORMAL
void(* PFN_LVHDR_BKDRAWFUNC)(HWND hWnd, HLVHDR hlvhdr, HDC hdc, RECT *rcDraw)
struct _LVCUSTOMDRAWFUNCS LVCUSTOMDRAWFUNCS
UINT_PTR LPARAM
A type definition for the second message paramter.
LVNM_HEADRDOWN * PLVNM_HEADRDOWN
PFN_LVHDR_BKDRAWFUNC pfnDrawHdrBk
LVNM_HEADRUP * PLVNM_HEADUP