|
@@ -166,7 +166,7 @@ int CUpgradeWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
|
|
return -1;
|
|
return -1;
|
|
}
|
|
}
|
|
|
|
|
|
- m_text_notify.Create(_T("提示:\n 脚本修改后必须重启SATHelper!"), SS_LEFT | WS_CHILD | WS_VISIBLE, rectDummy, this, IDC_STATIC);
|
|
|
|
|
|
+ m_text_notify.Create(_T("提示:\n 升级按钮对应的功能脚本修改后必须重启SATHelper!"), SS_LEFT | WS_CHILD | WS_VISIBLE, rectDummy, this, IDC_STATIC);
|
|
|
|
|
|
// 以编辑框高度为所有控件高度标准;
|
|
// 以编辑框高度为所有控件高度标准;
|
|
CRect rcCtrl;
|
|
CRect rcCtrl;
|
|
@@ -311,12 +311,12 @@ void CUpgradeWnd::SetCtrlStyle()
|
|
m_check_remember.m_nFlatStyle = CMFCButton::BUTTONSTYLE_FLAT;
|
|
m_check_remember.m_nFlatStyle = CMFCButton::BUTTONSTYLE_FLAT;
|
|
m_check_remember.SizeToContent();*/
|
|
m_check_remember.SizeToContent();*/
|
|
|
|
|
|
- m_edit_path.EnableFolderBrowseButton();
|
|
|
|
|
|
+ //m_edit_path.EnableFolderBrowseButton();
|
|
m_edit_path.EnableFileBrowseButton(_T(""), _T("Image Files(*.img)|*.img"
|
|
m_edit_path.EnableFileBrowseButton(_T(""), _T("Image Files(*.img)|*.img"
|
|
"|Zip Files(*.zip)|*.zip"
|
|
"|Zip Files(*.zip)|*.zip"
|
|
"|Rar Files(*.rar)|*.rar"
|
|
"|Rar Files(*.rar)|*.rar"
|
|
"|Binary Files(*.bin)|*.bin"
|
|
"|Binary Files(*.bin)|*.bin"
|
|
- "|All Files (*.*)|*.*||"));
|
|
|
|
|
|
+ "|All Files (*.*)|*.*||"), 0);
|
|
}
|
|
}
|
|
|
|
|
|
// 如果CDockablePane无控件,改变大小时背景会刷新失败;
|
|
// 如果CDockablePane无控件,改变大小时背景会刷新失败;
|