mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:02:16 +00:00
disable redrawing of the ListView window before updating the service list
svn path=/trunk/; revision=29497
This commit is contained in:
parent
f3d656d276
commit
a49156cbcc
1 changed files with 6 additions and 1 deletions
|
@ -235,6 +235,11 @@ RefreshServiceList(PMAIN_WND_INFO Info)
|
|||
DWORD NumServices;
|
||||
DWORD Index;
|
||||
|
||||
SendMessage (Info->hListView,
|
||||
WM_SETREDRAW,
|
||||
FALSE,
|
||||
0);
|
||||
|
||||
(void)ListView_DeleteAllItems(Info->hListView);
|
||||
|
||||
if (GetServiceList(Info, &NumServices))
|
||||
|
@ -331,7 +336,7 @@ RefreshServiceList(PMAIN_WND_INFO Info)
|
|||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue