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
This commit is contained in:
kichik 2006-01-14 13:35:12 +00:00
parent 09e44a9feb
commit 494a87fd0c

View file

@ -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)
{