- Reimplemented the scrolling using SetScrollInfo and GetScrollInfo.
- Implemented LVM_FINDITEM message. - Added some new window styles. - Fixed some bugs and extended a number of existing functions. - Modified selection functions to support area selection (for group selection in LVS_ICON and LVS_SMALLICON).
This commit is contained in:
parent
a811ea5d82
commit
a6d833a552
File diff suppressed because it is too large
Load Diff
|
@ -2516,6 +2516,10 @@ typedef struct tagTCHITTESTINFO
|
||||||
|
|
||||||
typedef INT (CALLBACK *PFNLVCOMPARE)(LPARAM, LPARAM, LPARAM);
|
typedef INT (CALLBACK *PFNLVCOMPARE)(LPARAM, LPARAM, LPARAM);
|
||||||
|
|
||||||
|
#define ListView_GetNextItem(hwnd,nItem,flags) \
|
||||||
|
(INT)SendMessageA((hwnd),LVM_GETNEXTITEM,(WPARAM)(INT)(nItem),(LPARAM)(MAKELPARAM(flags,0)))
|
||||||
|
#define ListView_FindItem(hwnd,nItem,plvfi) \
|
||||||
|
(INT)SendMessageA((hwnd),LVM_FINDITEMA,(WPARAM)(INT)(nItem),(LPARAM)(LVFINDINFO*)(plvfi))
|
||||||
#define ListView_Arrange(hwnd,code) \
|
#define ListView_Arrange(hwnd,code) \
|
||||||
(INT)SendMessageA((hwnd),LVM_ARRANGE,(WPARAM)(INT)(code),0L)
|
(INT)SendMessageA((hwnd),LVM_ARRANGE,(WPARAM)(INT)(code),0L)
|
||||||
#define ListView_GetItemPosition(hwnd,i,ppt) \
|
#define ListView_GetItemPosition(hwnd,i,ppt) \
|
||||||
|
|
|
@ -37,8 +37,6 @@ typedef struct tagLISTVIEW_INFO
|
||||||
HIMAGELIST himlState;
|
HIMAGELIST himlState;
|
||||||
BOOL bLButtonDown;
|
BOOL bLButtonDown;
|
||||||
BOOL bRButtonDown;
|
BOOL bRButtonDown;
|
||||||
INT nCountPerColumn;
|
|
||||||
INT nCountPerRow;
|
|
||||||
INT nFocusedItem;
|
INT nFocusedItem;
|
||||||
INT nItemHeight;
|
INT nItemHeight;
|
||||||
INT nItemWidth;
|
INT nItemWidth;
|
||||||
|
|
Loading…
Reference in New Issue