From 494a87fd0caf24db561d51a5970dbb52f8e742c0 Mon Sep 17 00:00:00 2001 From: kichik Date: Sat, 14 Jan 2006 13:35:12 +0000 Subject: [PATCH] TreeView doesn't automatically scroll to newly added items, there's no need to manually scroll back to the top. I'd keep it just to be on the safe side, but on Windows 95, it crashes when there are no items in the TreeView. git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4478 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 311f0e45..38768962 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -1267,7 +1267,6 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar { SetWindowLong(hwndTree1,GWL_STYLE,GetWindowLong(hwndTree1,GWL_STYLE)&~(TVS_LINESATROOT)); } - SendMessage(hwndTree1,WM_VSCROLL,SB_TOP,0); if (!noCombo) {