|
@@ -133,23 +133,24 @@ int CUpgradeWnd::OnCreate(LPCREATESTRUCT lpCreateStruct)
|
|
|
CRect rectDummy(0,0,60,23);
|
|
|
|
|
|
// 创建组合:
|
|
|
- const DWORD dwViewStyle = WS_CHILD | WS_VISIBLE | CBS_DROPDOWNLIST | WS_BORDER | CBS_SORT | WS_CLIPSIBLINGS | WS_CLIPCHILDREN;
|
|
|
+ const DWORD dwViewStyle = WS_CHILD | WS_VISIBLE | CBS_DROPDOWNLIST | WS_BORDER | CBS_SORT | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | WS_TABSTOP;
|
|
|
|
|
|
// 编辑框;
|
|
|
m_text_path.Create(_T("路径:"), SS_CENTER | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE , rectDummy, this, IDC_STATIC);
|
|
|
- if (!m_edit_path.Create( WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, rectDummy, this, ID_EDIT_IMAGE_PATH))
|
|
|
+ //if (!m_edit_path.Create( WS_CHILD | WS_VISIBLE | WS_BORDER | WS_CLIPSIBLINGS| WS_TABSTOP, rectDummy, this, ID_EDIT_IMAGE_PATH))
|
|
|
+ if (!m_edit_path.Create(WS_CHILD | WS_VISIBLE | WS_BORDER |ES_AUTOHSCROLL | WS_TABSTOP, rectDummy, this, ID_EDIT_IMAGE_PATH))
|
|
|
{
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
|
m_text_user.Create(_T("FTP账号:"), SS_CENTER | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE, rectDummy, this, IDC_STATIC);
|
|
|
- if (!m_ftp_user.Create(WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, rectDummy, this, ID_EIDT_FTP_USER))
|
|
|
+ if (!m_ftp_user.Create(WS_CHILD | WS_VISIBLE | WS_BORDER | ES_AUTOHSCROLL | WS_TABSTOP, rectDummy, this, ID_EIDT_FTP_USER))
|
|
|
{
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
|
m_text_password.Create(_T("FTP密码:"), SS_CENTER | SS_CENTERIMAGE | WS_CHILD | WS_VISIBLE, rectDummy, this, IDC_STATIC);
|
|
|
- if (!m_ftp_password.Create(WS_CHILD | WS_VISIBLE | WS_BORDER | ES_PASSWORD | WS_TABSTOP, rectDummy, this, ID_EDIT_FTP_PASSWORD))
|
|
|
+ if (!m_ftp_password.Create(WS_CHILD | WS_VISIBLE | WS_BORDER | ES_AUTOHSCROLL | WS_TABSTOP, rectDummy, this, ID_EDIT_FTP_PASSWORD))
|
|
|
{
|
|
|
//m_ftp_password.SetPasswordChar(‘*');
|
|
|
return -1;
|