From 13b7afe70593a610051c74d5c1a6234599fe65d3 Mon Sep 17 00:00:00 2001 From: "varada%netscape.com" Date: Mon, 1 Nov 1999 19:14:29 +0000 Subject: [PATCH] fixes to bug 5434 git-svn-id: svn://10.0.0.236/trunk@52396 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cck/driver/ImgDlg.cpp | 4 ++-- mozilla/cck/driver/WizHelp.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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 }