Commit 773efce7 authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

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

are now listed as a sorted range of paired integers.
parent 94f74144
...@@ -40,6 +40,11 @@ typedef struct tagLISTVIEW_ITEM ...@@ -40,6 +40,11 @@ typedef struct tagLISTVIEW_ITEM
} LISTVIEW_ITEM; } LISTVIEW_ITEM;
typedef struct tagLISTVIEW_SELECTION
{
DWORD lower;
DWORD upper;
} LISTVIEW_SELECTION;
typedef struct tagLISTVIEW_INFO typedef struct tagLISTVIEW_INFO
{ {
...@@ -52,6 +57,7 @@ typedef struct tagLISTVIEW_INFO ...@@ -52,6 +57,7 @@ typedef struct tagLISTVIEW_INFO
BOOL bLButtonDown; BOOL bLButtonDown;
BOOL bRButtonDown; BOOL bRButtonDown;
INT nFocusedItem; INT nFocusedItem;
HDPA hdpaSelectionRanges;
INT nItemHeight; INT nItemHeight;
INT nItemWidth; INT nItemWidth;
INT nSelectionMark; INT nSelectionMark;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment