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:
parent
09e44a9feb
commit
494a87fd0c
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue