50 #ifndef EXT_LISTVIEW_H 51 #define EXT_LISTVIEW_H 72 #define CTRL_LISTVIEW ("ListView") 79 #define LV_ERRSPACE (-2) 91 #define LVIF_FOLD 0x0001L 125 #define LVFLAG_BITMAP 0x0001 127 #define LVFLAG_ICON 0x0002 173 typedef int (*
PFNLVCOMPARE) (HLVITEM nItem1, HLVITEM nItem2, PLVSORTDATA sortData);
197 #define LVCF_LEFTALIGN 0x0000 199 #define LVCF_RIGHTALIGN 0x0001 201 #define LVCF_CENTERALIGN 0x0002 203 #define LVCF_TREEVIEW 0x0004 207 #define LVHF_LEFTALIGN 0x0000 209 #define LVHF_RIGHTALIGN 0x0004 211 #define LVHF_CENTERALIGN 0x0008 239 #define LVFF_TEXT 0x0001 241 #define LVFF_ADDDATA 0x0002 321 #define LVS_UPNOTIFY 0x0001L 322 #define LVS_NOTIFY LVS_UPNOTIFY 330 #define LVS_SORT 0x0002L 336 #define LVS_MULTIPLESEL 0x0008L 342 #define LVS_CHECKBOX 0x1000L 350 #define LVS_AUTOCHECK 0x2000L 356 #define LVS_AUTOCHECKBOX (LVS_CHECKBOX | LVS_AUTOCHECK) 362 #define LVS_TREEVIEW 0x4000L 364 #define LVS_WITHGRID 0x8000L 394 #define LVM_ADDITEM 0xF110 418 #define LVM_FILLSUBITEM 0xF111 435 #define LVM_ADDCOLUMN 0xF112 455 #define LVM_DELITEM 0xF113 479 #define LVM_CLEARSUBITEM 0xF114 496 #define LVM_DELCOLUMN 0xF115 513 #define LVM_COLSORT 0xF116 537 #define LVM_SETSUBITEMCOLOR 0xF117 556 #define LVM_FINDITEM 0xF118 582 #define LVM_GETSUBITEMTEXT 0xF119 597 #define LVM_GETITEMCOUNT 0xF11A 612 #define LVM_GETCOLUMNCOUNT 0xF11B 627 #define LVM_GETSELECTEDITEM 0xF11C 642 #define LVM_DELALLITEM 0xF11D 659 #define LVM_MODIFYHEAD 0xF11E 679 #define LVM_SELECTITEM 0xF11F 700 #define LVM_SHOWITEM 0xF120 724 #define LVM_GETSUBITEMLEN 0xF121 742 #define LVM_SETCOLUMN 0xF122 766 #define LVM_SETSUBITEMTEXT 0xF123 790 #define LVM_SETSUBITEM 0xF124 811 #define LVM_GETCOLUMN 0xF125 829 #define LVM_GETCOLUMNWIDTH 0xF126 851 #define LVM_GETITEM 0xF127 872 #define LVM_GETITEMSTATE 0xF128 887 #define LVM_GETSELECTEDCOLUMN 0xF129 902 #define LVM_GETSELECTEDCOUNT 0xF130 917 #define LVM_GETTOPVISIBLE 0xF131 923 #define LVM_NULL 0xF132 929 #define LVM_SETITEMSTATE 0xF133 965 #define LVM_SORTITEMS 0xF134 985 #define LVM_SETITEMHEIGHT 0xF135 1002 #define LVM_SETHEADHEIGHT 0xF136 1029 #define LVM_GETITEMADDDATA 0xF137 1055 #define LVM_SETITEMADDDATA 0xF138 1075 #define LVM_CHOOSEITEM 0xF139 1106 #define LVM_SETSTRCMPFUNC 0xF140 1108 #define LVIR_PARENT 1 1109 #define LVIR_FIRSTCHILD 2 1110 #define LVIR_NEXTSIBLING 3 1111 #define LVIR_PREVSIBLING 4 1141 #define LVM_GETRELATEDITEM 0xF141 1161 #define LVM_FOLDITEM 0xF142 1179 #define LVM_SETCUSTOMDRAW 0xF143 1197 #define LVM_GETSELECTEDITEMRECT 0xF144 1211 #define LVN_CLICKED 1 1218 #define LVN_SELCHANGE 2 1225 #define LVN_ITEMRDOWN 4 1232 #define LVN_ITEMRUP 5 1239 #define LVN_HEADRDOWN 6 1246 #define LVN_HEADRUP 7 1252 #define LVN_KEYDOWN 8 1260 #define LVN_ITEMDBCLK 9 1267 #define LVN_ITEMCLK 10 1274 #define LVN_COLCHANGE 11 1281 #define LVN_FOLDED 12 1288 #define LVN_UNFOLDED 13 struct _LVFINDINFO LVFINDINFO
PFN_LVHDR_BKDRAWFUNC pfnDrawHdrBk
struct _LVSUBITEM LVSUBITEM
struct _LVNM_NORMAL LVNM_NORMAL
void(* PFN_LVHDR_ITEMDRAWFUNC)(HWND hWnd, int idx, HDC hdc, RECT *rcDraw)
LVNM_HEADRUP * PLVNM_HEADUP
LVNM_ITEMRDOWN * PLVNM_ITEMRDOWN
LVNM_ITEMRUP * PLVNM_ITEMRUP
int(* PFNLVCOMPARE)(HLVITEM nItem1, HLVITEM nItem2, PLVSORTDATA sortData)
void(* PFN_LVHDR_BKDRAWFUNC)(HWND hWnd, HLVHDR hlvhdr, HDC hdc, RECT *rcDraw)
struct _LVCOLUMN LVCOLUMN
GHANDLE HDC
Handle to device context.
struct _LVCUSTOMDRAWFUNCS LVCUSTOMDRAWFUNCS
LVNM_KEYDOWN * PLVNM_KEYDOWN
GHANDLE HWND
Handle to main window or control.
LVNM_HEADRDOWN * PLVNM_HEADRDOWN
PVOID GHANDLE
General handle.
LVNM_NORMAL LVNM_HEADRDOWN
UINT_PTR LPARAM
A type definition for the second message paramter.
LVNM_NORMAL LVNM_ITEMRDOWN
UINT_PTR WPARAM
A type definition for the first message paramter.
DWORD_PTR DWORD
A unsigned long type definition for pointer precision.
struct _LVSORTDATA LVSORTDATA
PFN_LVHDR_ITEMDRAWFUNC pfnDrawHdrItem
GHANDLE HLVITEM
List view item handle.
LVNM_NORMAL * PLVNM_NORMAL