Removed unnecessary X11 includes from ddraw.h.
[wine/multimedia.git] / include / listview.h
blob96e6ce56b01c7246e7c1132a9d8e5e411b26f188
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 /* Some definitions for inline edit control */
15 typedef BOOL (*EditlblCallback)(HWND, LPSTR, DWORD);
17 typedef struct tagEDITLABEL_ITEM
19 WNDPROC EditWndProc;
20 DWORD param;
21 EditlblCallback EditLblCb;
22 } EDITLABEL_ITEM;
24 typedef struct tagLISTVIEW_SUBITEM
26 LPSTR pszText;
27 INT iImage;
28 INT iSubItem;
30 } LISTVIEW_SUBITEM;
32 typedef struct tagLISTVIEW_ITEM
34 UINT state;
35 LPSTR pszText;
36 INT iImage;
37 LPARAM lParam;
38 INT iIndent;
39 POINT ptPosition;
41 } LISTVIEW_ITEM;
44 typedef struct tagLISTVIEW_INFO
46 COLORREF clrBk;
47 COLORREF clrText;
48 COLORREF clrTextBk;
49 HIMAGELIST himlNormal;
50 HIMAGELIST himlSmall;
51 HIMAGELIST himlState;
52 BOOL bLButtonDown;
53 BOOL bRButtonDown;
54 INT nFocusedItem;
55 INT nItemHeight;
56 INT nItemWidth;
57 INT nSelectionMark;
58 INT nHotItem;
59 SHORT notifyFormat;
60 RECT rcList;
61 RECT rcView;
62 SIZE iconSize;
63 SIZE iconSpacing;
64 UINT uCallbackMask;
65 HWND hwndHeader;
66 HFONT hDefaultFont;
67 HFONT hFont;
68 BOOL bFocus;
69 DWORD dwExStyle; /* extended listview style */
70 HDPA hdpaItems;
71 PFNLVCOMPARE pfnCompare;
72 LPARAM lParamSort;
73 HWND hwndEdit;
74 BOOL bDoEditLabel;
75 EDITLABEL_ITEM *pedititem;
76 DWORD dwHoverTime;
78 WPARAM charCode; /* Added */
79 CHAR szSearchParam[ MAX_PATH ]; /* Added */
80 DWORD timeSinceLastKeyPress; /* Added */
81 INT nSearchParamLength; /* Added */
84 } LISTVIEW_INFO;
87 extern VOID LISTVIEW_Register (VOID);
88 extern VOID LISTVIEW_Unregister (VOID);
90 #endif /* __WINE_LISTVIEW_H */