use default font for columns

svn path=/trunk/; revision=39696
This commit is contained in:
Matthias Kupfer 2009-02-20 21:31:31 +00:00
parent b11277de45
commit cf5f8cd8f8

View file

@ -69,9 +69,8 @@ ProcessPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
hProcessPageShowAllProcessesButton = GetDlgItem(hDlg, IDC_SHOWALLPROCESSES);
/*
* Set the font, title, and extended window styles for the list control
* Set the title, and extended window styles for the list control
*/
SendMessageW(hProcessPageListCtrl, WM_SETFONT, SendMessageW(hProcessPage, WM_GETFONT, 0, 0), TRUE);
SetWindowTextW(hProcessPageListCtrl, L"Processes");
(void)ListView_SetExtendedListViewStyle(hProcessPageListCtrl, ListView_GetExtendedListViewStyle(hProcessPageListCtrl) | LVS_EX_FULLROWSELECT | LVS_EX_HEADERDRAGDROP);