comctl32/listview: Add LVSIL_GROUPHEADER definition.

This commit is contained in:
Nikolay Sivov 2009-11-21 17:09:58 +03:00 committed by Alexandre Julliard
parent 79c55c5dd1
commit 90c4abe86f
2 changed files with 8 additions and 2 deletions

View File

@ -6205,8 +6205,13 @@ static HIMAGELIST LISTVIEW_GetImageList(const LISTVIEW_INFO *infoPtr, INT nImage
switch (nImageList) switch (nImageList)
{ {
case LVSIL_NORMAL: return infoPtr->himlNormal; case LVSIL_NORMAL: return infoPtr->himlNormal;
case LVSIL_SMALL: return infoPtr->himlSmall; case LVSIL_SMALL: return infoPtr->himlSmall;
case LVSIL_STATE: return infoPtr->himlState; case LVSIL_STATE: return infoPtr->himlState;
case LVSIL_GROUPHEADER:
FIXME("LVSIL_GROUPHEADER not supported\n");
break;
default:
WARN("got unknown imagelist index - %d\n", nImageList);
} }
return NULL; return NULL;
} }

View File

@ -3015,6 +3015,7 @@ static const WCHAR WC_LISTVIEWW[] = { 'S','y','s',
#define LVSIL_NORMAL 0 #define LVSIL_NORMAL 0
#define LVSIL_SMALL 1 #define LVSIL_SMALL 1
#define LVSIL_STATE 2 #define LVSIL_STATE 2
#define LVSIL_GROUPHEADER 3
/* following 2 flags only for LVS_OWNERDATA listviews */ /* following 2 flags only for LVS_OWNERDATA listviews */
/* and only in report or list mode */ /* and only in report or list mode */