- 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).
diff --git a/include/commctrl.h b/include/commctrl.h index 28ac75b..05f16aa 100644 --- a/include/commctrl.h +++ b/include/commctrl.h
@@ -2516,6 +2516,10 @@ 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) \ (INT)SendMessageA((hwnd),LVM_ARRANGE,(WPARAM)(INT)(code),0L) #define ListView_GetItemPosition(hwnd,i,ppt) \