Use the correct system metric to size the invisible column-header on the instfiles page

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6588 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2015-06-25 20:38:20 +00:00
parent 695a478725
commit 113be9b813

View file

@ -1678,7 +1678,7 @@ static INT_PTR CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM
log_printf3(_T("New install of \"%s\" to \"%s\""),GetNSISStringTT(LANG_NAME),state_install_directory);
GetClientRect(linsthwnd, &r);
lvc.cx = r.right - GetSystemMetrics(SM_CXHSCROLL);
lvc.cx = r.right - GetSystemMetrics(SM_CXVSCROLL);
ListView_InsertColumn(linsthwnd, 0, &lvc);
ListView_SetExtendedListViewStyleEx(linsthwnd, LVS_EX_LABELTIP, LVS_EX_LABELTIP);