Auto-fit filename in FindInFiles progress window

This way the filename doesn't spread on multiple lines.
This commit is contained in:
Pavel Nedev 2015-05-08 19:13:46 +03:00
parent ccee6ea29d
commit 43ac186d2b
1 changed files with 1 additions and 1 deletions

View File

@ -3076,7 +3076,7 @@ int Progress::createProgressWindow()
height = win.bottom - win.top;
_hPText = ::CreateWindowEx(0, TEXT("STATIC"), TEXT(""),
WS_CHILD | WS_VISIBLE | BS_TEXT,
WS_CHILD | WS_VISIBLE | BS_TEXT | SS_PATHELLIPSIS,
5, 5,
width - 10, 20, _hwnd, NULL, _hInst, NULL);
HFONT hf = (HFONT)::GetStockObject(DEFAULT_GUI_FONT);