mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[RAPPS]
- disable redrawing while the application list is being updated (suggested by Christoph) svn path=/trunk/; revision=66819
This commit is contained in:
parent
9d069a334c
commit
6f1802eece
|
@ -196,6 +196,8 @@ UpdateApplicationsList(INT EnumType)
|
|||
HICON hIcon;
|
||||
HIMAGELIST hImageListView;
|
||||
|
||||
SendMessage(hListView, WM_SETREDRAW, FALSE, 0);
|
||||
|
||||
(VOID) ListView_DeleteAllItems(hListView);
|
||||
|
||||
/* Create image list */
|
||||
|
@ -253,6 +255,8 @@ UpdateApplicationsList(INT EnumType)
|
|||
/* 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
|
||||
|
|
Loading…
Reference in a new issue