diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-06-13 22:25:55 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-06-13 22:25:55 +0000 |
| commit | 6b57ee7236610cc5ac9e388bb73be1854429a27b (patch) | |
| tree | a284fd568f043a402ed92465863035f21bb9208d /src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.cpp | |
| parent | 7f0766499db248afe9985a5700c22f9a8ce7ce6c (diff) | |
| download | cppunit-6b57ee7236610cc5ac9e388bb73be1854429a27b.tar.gz | |
Src/cppunit/CompilerOutputter.
src/cppunit/CompilerOutputter.cpp: fixed bug #549762 (line wrap).
* src/msvc6/testrunner/DynamicWindow/*: added. Dynamic Window library
from Hans Bühler (hans.buehler@topmail.de) to resize window.
* src/msvc6/testrunner/TestRunnerModel.h:
* src/msvc6/testrunner/TestRunnerModel.cpp: removed dialog bounds from
settings. Added public registry keys for cppunit, main dialog, and
browse dialog.
* src/msvc6/testrunner/TreeHierarchyDlg.h:
* src/msvc6/testrunner/TreeHierarchyDlg.cpp: dialog is now resizable.
Window placement is stored and restored.
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testrunner/TestRunnerDlg.cpp: replaced dialog resizing code
by usage of Hans Bühler's Dynamic Window library. Dialog placement
is stored/restored by that library. ProgressBar is now a child window.
Added edit field to see the details of the failure. List on show
the short description of the failure.
* src/msvc6/testrunner/ProgressBar.h:
* src/msvc6/testrunner/ProgressBar.cpp: is now a CWnd.
* src/msvc6/testrunner/TestRunner.rc: named all static fill ID for resizing.
Added an invisble static field for progress bar placement.
Diffstat (limited to 'src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.cpp')
| -rw-r--r-- | src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.cpp | 98 |
1 files changed, 98 insertions, 0 deletions
diff --git a/src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.cpp b/src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.cpp new file mode 100644 index 0000000..2a95ef9 --- /dev/null +++ b/src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.cpp @@ -0,0 +1,98 @@ +// cdxCDynamicChildDlg.cpp : implementation file +// + +#include "stdafx.h" +#include "cdxCDynamicDialog.h" + +#ifdef _DEBUG +#define new DEBUG_NEW +#undef THIS_FILE +static char THIS_FILE[] = __FILE__; +#endif + +///////////////////////////////////////////////////////////////////////////// +// cdxCDynamicDialog dialog +///////////////////////////////////////////////////////////////////////////// + +IMPLEMENT_DYNAMIC(cdxCDynamicDialog,CDialog); + +///////////////////////////////////////////////////////////////////////////// +// message map +///////////////////////////////////////////////////////////////////////////// + +BEGIN_MESSAGE_MAP(cdxCDynamicDialog, CDialog) + //{{AFX_MSG_MAP(cdxCDynamicDialog) + ON_WM_GETMINMAXINFO() + ON_WM_DESTROY() + ON_WM_PARENTNOTIFY() + ON_WM_SIZE() + ON_WM_SIZING() + ON_WM_TIMER() + //}}AFX_MSG_MAP +END_MESSAGE_MAP() + +///////////////////////////////////////////////////////////////////////////// +// cdxCDynamicDialog message handlers: redirect stuff to my class :)= +///////////////////////////////////////////////////////////////////////////// + +BOOL cdxCDynamicDialog::OnInitDialog() +{ + BOOL bOK = CDialog::OnInitDialog(); + DoInitWindow(*this); + + return bOK; +} + +BOOL cdxCDynamicDialog::DestroyWindow() +{ + DoOnDestroy(); + return CDialog::DestroyWindow(); +} + +void cdxCDynamicDialog::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI) +{ + CDialog::OnGetMinMaxInfo(lpMMI); + DoOnGetMinMaxInfo(lpMMI); +} + +void cdxCDynamicDialog::OnDestroy() +{ + DoOnDestroy(); + CDialog::OnDestroy(); +} + +void cdxCDynamicDialog::OnParentNotify(UINT message, LPARAM lParam) +{ + CDialog::OnParentNotify(message, lParam); + DoOnParentNotify(message, lParam); +} + +void cdxCDynamicDialog::OnSize(UINT nType, int cx, int cy) +{ + CDialog::OnSize(nType, cx, cy); + DoOnSize(nType, cx, cy); +} + +void cdxCDynamicDialog::OnSizing(UINT fwSide, LPRECT pRect) +{ + CDialog::OnSizing(fwSide, pRect); + DoOnSizing(fwSide, pRect); +} + +void cdxCDynamicDialog::OnTimer(UINT idEvent) +{ + CDialog::OnTimer(idEvent); + DoOnTimer(idEvent); +} + + +///////////////////////////////////////////////////////////////////////////// +// cdxCDynamicChildDlg dialog +///////////////////////////////////////////////////////////////////////////// + +IMPLEMENT_DYNAMIC(cdxCDynamicChildDlg,cdxCDynamicDialog); + +///////////////////////////////////////////////////////////////////////////// +// message map +///////////////////////////////////////////////////////////////////////////// + |
