Author: cwittich
Date: Thu Oct 11 14:30:43 2007
New Revision: 29497
URL:
http://svn.reactos.org/svn/reactos?rev=29497&view=rev
Log:
disable redrawing of the ListView window before updating the service list
Modified:
trunk/reactos/base/applications/mscutils/servman/listview.c
Modified: trunk/reactos/base/applications/mscutils/servman/listview.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/servman/listview.c (original)
+++ trunk/reactos/base/applications/mscutils/servman/listview.c Thu Oct 11 14:30:43 2007
@@ -235,6 +235,11 @@
DWORD NumServices;
DWORD Index;
+ SendMessage (Info->hListView,
+ WM_SETREDRAW,
+ FALSE,
+ 0);
+
(void)ListView_DeleteAllItems(Info->hListView);
if (GetServiceList(Info, &NumServices))
@@ -331,7 +336,7 @@
UpdateServiceCount(Info);
}
- /* turn redraw flag on. It's turned off initially via the LBS_NOREDRAW flag */
+ /* turn redraw flag on. */
SendMessage (Info->hListView,
WM_SETREDRAW,
TRUE,