Some more improvments

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1867 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2002-12-02 16:02:03 +00:00
parent 3e0bfbd21f
commit 78c25b042a

View file

@ -1170,9 +1170,8 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
ht++;
}
SendMessage(hwndTree1,WM_VSCROLL,SB_TOP,0);
lParam = 0;
}
else lParam = 1;
lParam = 1;
uMsg = WM_IN_UPDATEMSG;
}
}
@ -1186,13 +1185,12 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
}
if (uMsg == WM_IN_UPDATEMSG)
{
if (!lParam)
{
#if defined(NSIS_SUPPORT_CODECALLBACKS) && defined(NSIS_CONFIG_COMPONENTPAGE)
{
ExecuteCodeSegment(g_inst_header->code_onSelChange,NULL);
}
#endif//NSIS_SUPPORT_CODECALLBACKS && NSIS_CONFIG_COMPONENTPAGE
if (!lParam)
{
int r,x;
// check to see which install type we are
@ -1230,7 +1228,6 @@ static BOOL CALLBACK SelProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lPar
m_whichcfg=r;
}
} // end of typecheckshit
}
if (g_inst_header->no_custom_instmode_flag==2)
{