Author: khornicek
Date: Thu Mar 19 20:19:27 2015
New Revision: 66819
URL:
http://svn.reactos.org/svn/reactos?rev=66819&view=rev
Log:
[RAPPS]
- disable redrawing while the application list is being updated (suggested by Christoph)
Modified:
trunk/reactos/base/applications/rapps/winmain.c
Modified: trunk/reactos/base/applications/rapps/winmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/rapps/wi…
==============================================================================
--- trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/rapps/winmain.c [iso-8859-1] Thu Mar 19 20:19:27 2015
@@ -196,6 +196,8 @@
HICON hIcon;
HIMAGELIST hImageListView;
+ SendMessage(hListView, WM_SETREDRAW, FALSE, 0);
+
(VOID) ListView_DeleteAllItems(hListView);
/* Create image list */
@@ -253,6 +255,8 @@
/* set automatic column width for program names if the list is not empty */
if (ListView_GetItemCount(hListView) > 0)
ListView_SetColumnWidth(hListView, 0, LVSCW_AUTOSIZE);
+
+ SendMessage(hListView, WM_SETREDRAW, TRUE, 0);
}
VOID