Change by spx to fix "flicker" issue in AboutDialog

This commit is contained in:
jsmorley 2010-08-28 21:24:32 +00:00
parent 9f33f8907a
commit c753f0cbac

View File

@ -379,7 +379,8 @@ BOOL OnInitAboutDialog(HWND window)
// Add columns to the list view // Add columns to the list view
widget = GetDlgItem(window, IDC_STATISTICS); widget = GetDlgItem(window, IDC_STATISTICS);
ListView_SetExtendedListViewStyleEx(widget, LVS_EX_FULLROWSELECT, LVS_EX_FULLROWSELECT); //ListView_SetExtendedListViewStyleEx(widget, LVS_EX_FULLROWSELECT, LVS_EX_FULLROWSELECT);
ListView_SetExtendedListViewStyleEx(widget, LVS_EX_FULLROWSELECT | LVS_EX_DOUBLEBUFFER, LVS_EX_FULLROWSELECT | LVS_EX_DOUBLEBUFFER);
LVCOLUMN lvc; LVCOLUMN lvc;
lvc.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM; lvc.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM;