[rosctrls.h] CListView: Add Arrange method

[SHELL32] CDefView: Start implementing Auto arrange.
So far its effect is only shown when the browser window resizes.
This commit is contained in:
Giannis Adamopoulos 2018-10-22 23:51:37 +03:00
parent 410cfbfe15
commit c69ef281c0
2 changed files with 29 additions and 22 deletions

View file

@ -224,6 +224,12 @@ public:
{
return (BOOL)SendMessage(LVM_SETITEMPOSITION, nItem, MAKELPARAM(pPoint->x, pPoint->y));
}
BOOL Arrange(UINT nCode)
{
return (BOOL)SendMessage(LVM_ARRANGE, nCode, 0);
}
};
template<typename TItemData = DWORD_PTR>