Author: ekohl Date: Mon Dec 7 18:19:05 2015 New Revision: 70288
URL: http://svn.reactos.org/svn/reactos?rev=70288&view=rev Log: [SERVMAN] Arrange large and small icons after changing the view. Patch by Carlo Bramini. #CORE-10350 #resolve #comment Thanks a lot!
Modified: trunk/reactos/base/applications/mscutils/servman/mainwnd.c
Modified: trunk/reactos/base/applications/mscutils/servman/mainwnd.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils/... ============================================================================== --- trunk/reactos/base/applications/mscutils/servman/mainwnd.c [iso-8859-1] (original) +++ trunk/reactos/base/applications/mscutils/servman/mainwnd.c [iso-8859-1] Mon Dec 7 18:19:05 2015 @@ -558,8 +558,9 @@ break;
case ID_VIEW_LARGE: - SetListViewStyle(Info->hListView, - LVS_ICON); + SetListViewStyle(Info->hListView, LVS_ICON); + ListView_Arrange(Info->hListView, LVA_DEFAULT); + CheckMenuRadioItem(GetMenu(Info->hMainWnd), ID_VIEW_LARGE, ID_VIEW_DETAILS, @@ -568,8 +569,9 @@ break;
case ID_VIEW_SMALL: - SetListViewStyle(Info->hListView, - LVS_SMALLICON); + SetListViewStyle(Info->hListView, LVS_SMALLICON); + ListView_Arrange(Info->hListView, LVA_DEFAULT); + CheckMenuRadioItem(GetMenu(Info->hMainWnd), ID_VIEW_LARGE, ID_VIEW_DETAILS,