Fixed compiler warnings.
[wine.git] / include / listview.h
blob85a604c9a16a67bbaffd0812f46d87abedfdc5e4
1 /*
2 * Listview class extra info
4 * Copyright 1998 Eric Kohl
5 */
7 #ifndef __WINE_LISTVIEW_H
8 #define __WINE_LISTVIEW_H
10 #include "commctrl.h"
11 #include "windef.h"
12 #include "wingdi.h"
14 typedef struct tagLISTVIEW_SUBITEM
16 LPSTR pszText;
17 INT iImage;
18 INT iSubItem;
20 } LISTVIEW_SUBITEM;
22 typedef struct tagLISTVIEW_ITEM
24 UINT state;
25 LPSTR pszText;
26 INT iImage;
27 LPARAM lParam;
28 INT iIndent;
29 POINT ptPosition;
31 } LISTVIEW_ITEM;
34 typedef struct tagLISTVIEW_INFO
36 COLORREF clrBk;
37 COLORREF clrText;
38 COLORREF clrTextBk;
39 HIMAGELIST himlNormal;
40 HIMAGELIST himlSmall;
41 HIMAGELIST himlState;
42 BOOL bLButtonDown;
43 BOOL bRButtonDown;
44 INT nFocusedItem;
45 INT nItemHeight;
46 INT nItemWidth;
47 INT nSelectionMark;
48 INT nHotItem;
49 SHORT notifyFormat;
50 RECT rcList;
51 RECT rcView;
52 SIZE iconSize;
53 SIZE iconSpacing;
54 UINT uCallbackMask;
55 HWND hwndHeader;
56 HFONT hDefaultFont;
57 HFONT hFont;
58 BOOL bFocus;
59 DWORD dwExStyle; /* extended listview style */
60 HDPA hdpaItems;
61 PFNLVCOMPARE pfnCompare;
62 LPARAM lParamSort;
64 } LISTVIEW_INFO;
67 extern VOID LISTVIEW_Register (VOID);
68 extern VOID LISTVIEW_Unregister (VOID);
70 #endif /* __WINE_LISTVIEW_H */