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:
parent
94f74144fd
commit
773efce76b
File diff suppressed because it is too large
Load Diff
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue