Reworked how selections are kept track of in the list view. Selections

are now listed as a sorted range of paired integers.
This commit is contained in:
Aric Stewart 2000-08-08 20:46:07 +00:00 committed by Alexandre Julliard
parent 94f74144fd
commit 773efce76b
2 changed files with 594 additions and 153 deletions

File diff suppressed because it is too large Load Diff

View File

@ -40,6 +40,11 @@ typedef struct tagLISTVIEW_ITEM
} LISTVIEW_ITEM;
typedef struct tagLISTVIEW_SELECTION
{
DWORD lower;
DWORD upper;
} LISTVIEW_SELECTION;
typedef struct tagLISTVIEW_INFO
{
@ -52,6 +57,7 @@ typedef struct tagLISTVIEW_INFO
BOOL bLButtonDown;
BOOL bRButtonDown;
INT nFocusedItem;
HDPA hdpaSelectionRanges;
INT nItemHeight;
INT nItemWidth;
INT nSelectionMark;