diff --git a/mozilla/cck/driver/ImgDlg.cpp b/mozilla/cck/driver/ImgDlg.cpp index 0cb4d1ad624..5eb5ffdd030 100644 --- a/mozilla/cck/driver/ImgDlg.cpp +++ b/mozilla/cck/driver/ImgDlg.cpp @@ -175,7 +175,6 @@ int CImgDlg::DoModal() BOOL CImgDlg::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) { // TODO: Add your specialized code here and/or call the base class - return CDialog::Create(IDD, pParentWnd); } @@ -201,7 +200,8 @@ BOOL CImgDlg::OnInitDialog() CDialog::OnInitDialog(); SetWindowText(imageTitle); - // TODO: Add extra initialization here + SetWindowPos(&wndTop,0,0,4,8,SWP_NOSIZE); +// TODO: Add extra initialization here return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE diff --git a/mozilla/cck/driver/WizHelp.cpp b/mozilla/cck/driver/WizHelp.cpp index 15bcb416d35..3d4b4524aa6 100644 --- a/mozilla/cck/driver/WizHelp.cpp +++ b/mozilla/cck/driver/WizHelp.cpp @@ -58,7 +58,6 @@ END_MESSAGE_MAP() BOOL CWizHelp::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext) { // TODO: Add your specialized code here and/or call the base class - return CDialog::Create(IDD, pParentWnd); } @@ -186,6 +185,8 @@ BOOL CWizHelp::OnInitDialog() int k=Button1->Create("Button", BS_PUSHBUTTON | WS_TABSTOP|WS_VISIBLE, tmpRect, this, ID); */ } + SetWindowPos(&wndTop,0,0,4,8,SWP_NOSIZE); + return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }