No more two buttons with thick border
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2032 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
245f947ee5
commit
43307a41d5
1 changed files with 2 additions and 0 deletions
|
@ -532,6 +532,8 @@ nextPage:
|
||||||
SetDlgItemTextFromLang(hwndDlg,IDOK,this_page->next);
|
SetDlgItemTextFromLang(hwndDlg,IDOK,this_page->next);
|
||||||
|
|
||||||
hwndtmp=GetDlgItem(hwndDlg,IDC_BACK);
|
hwndtmp=GetDlgItem(hwndDlg,IDC_BACK);
|
||||||
|
SendMessage(g_hwnd,DM_SETDEFID,IDOK,0);
|
||||||
|
SetWindowLong(hwndtmp,GWL_STYLE,GetWindowLong(hwndtmp,GWL_STYLE)&~BS_DEFPUSHBUTTON);
|
||||||
ShowWindow(hwndtmp,this_page->back&SW_SHOWNA);// SW_HIDE = 0
|
ShowWindow(hwndtmp,this_page->back&SW_SHOWNA);// SW_HIDE = 0
|
||||||
EnableWindow(hwndtmp,this_page->back&2);
|
EnableWindow(hwndtmp,this_page->back&2);
|
||||||
EnableWindow(m_hwndOK,1);
|
EnableWindow(m_hwndOK,1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue