Added support for icon and smallicon views.

This commit is contained in:
Luc Tourangeau 1999-04-01 11:55:44 +00:00 committed by Alexandre Julliard
parent 240bdacb8d
commit 3025dc181b
2 changed files with 2076 additions and 1266 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,20 +17,21 @@ typedef struct tagLISTVIEW_SUBITEM
typedef struct tagLISTVIEW_ITEM
{
UINT state;
LPSTR pszText;
INT iImage;
LPARAM lParam;
INT iIndent;
UINT state;
LPSTR pszText;
INT iImage;
LPARAM lParam;
INT iIndent;
POINT ptPosition;
} LISTVIEW_ITEM;
typedef struct tagLISTVIEW_INFO
{
COLORREF clrBk;
COLORREF clrText;
COLORREF clrTextBk;
COLORREF clrBk;
COLORREF clrText;
COLORREF clrTextBk;
HIMAGELIST himlNormal;
HIMAGELIST himlSmall;
HIMAGELIST himlState;
@ -40,20 +41,20 @@ typedef struct tagLISTVIEW_INFO
INT nCountPerRow;
INT nFocusedItem;
INT nItemHeight;
INT nColumnWidth;
INT nItemWidth;
INT nSelectionMark;
SHORT notifyFormat;
RECT rcList;
RECT rcView;
SIZE iconSize;
SIZE smallIconSpacing;
SIZE largeIconSpacing;
SIZE iconSpacing;
UINT uCallbackMask;
HWND hwndHeader;
HFONT hDefaultFont;
HFONT hFont;
BOOL bFocus;
DWORD dwExStyle; /* extended listview style */
HDPA hdpaItems;
HWND hwndHeader;
HFONT hDefaultFont;
HFONT hFont;
BOOL bFocus;
DWORD dwExStyle; /* extended listview style */
HDPA hdpaItems;
} LISTVIEW_INFO;