~clint-fewbar/ubuntu/precise/squid3/ignore-sighup-early

« back to all changes in this revision

Viewing changes to lib/cppunit-1.10.0/src/msvc6/testrunner/DynamicWindow/cdxCDynamicDialog.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Luigi Gangitano
  • Date: 2006-11-11 10:32:06 UTC
  • Revision ID: james.westby@ubuntu.com-20061111103206-f3p0r9g0vq44rp3r
Tags: upstream-3.0.PRE5
ImportĀ upstreamĀ versionĀ 3.0.PRE5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// cdxCDynamicChildDlg.cpp : implementation file
 
2
//
 
3
 
 
4
#include "stdafx.h"
 
5
#include "cdxCDynamicDialog.h"
 
6
 
 
7
#ifdef _DEBUG
 
8
#define new DEBUG_NEW
 
9
#undef THIS_FILE
 
10
static char THIS_FILE[] = __FILE__;
 
11
#endif
 
12
 
 
13
/////////////////////////////////////////////////////////////////////////////
 
14
// cdxCDynamicDialog dialog
 
15
/////////////////////////////////////////////////////////////////////////////
 
16
 
 
17
IMPLEMENT_DYNAMIC(cdxCDynamicDialog,CDialog);
 
18
 
 
19
/////////////////////////////////////////////////////////////////////////////
 
20
// message map
 
21
/////////////////////////////////////////////////////////////////////////////
 
22
 
 
23
BEGIN_MESSAGE_MAP(cdxCDynamicDialog, CDialog)
 
24
        //{{AFX_MSG_MAP(cdxCDynamicDialog)
 
25
        ON_WM_GETMINMAXINFO()
 
26
        ON_WM_DESTROY()
 
27
        ON_WM_PARENTNOTIFY()
 
28
        ON_WM_SIZE()
 
29
        ON_WM_SIZING()
 
30
        ON_WM_TIMER()
 
31
        //}}AFX_MSG_MAP
 
32
END_MESSAGE_MAP()
 
33
 
 
34
/////////////////////////////////////////////////////////////////////////////
 
35
// cdxCDynamicDialog message handlers: redirect stuff to my class :)=
 
36
/////////////////////////////////////////////////////////////////////////////
 
37
 
 
38
BOOL cdxCDynamicDialog::OnInitDialog() 
 
39
{
 
40
        BOOL    bOK     =       CDialog::OnInitDialog();
 
41
        DoInitWindow(*this);
 
42
 
 
43
        return bOK;
 
44
}
 
45
 
 
46
BOOL cdxCDynamicDialog::DestroyWindow()
 
47
{
 
48
        DoOnDestroy();
 
49
        return CDialog::DestroyWindow();
 
50
}
 
51
 
 
52
void cdxCDynamicDialog::OnGetMinMaxInfo(MINMAXINFO FAR* lpMMI) 
 
53
{
 
54
        CDialog::OnGetMinMaxInfo(lpMMI);
 
55
        DoOnGetMinMaxInfo(lpMMI);
 
56
}
 
57
 
 
58
void cdxCDynamicDialog::OnDestroy() 
 
59
{
 
60
        DoOnDestroy();
 
61
        CDialog::OnDestroy();
 
62
}
 
63
 
 
64
void cdxCDynamicDialog::OnParentNotify(UINT message, LPARAM lParam) 
 
65
{
 
66
        CDialog::OnParentNotify(message, lParam);
 
67
        DoOnParentNotify(message, lParam);
 
68
}
 
69
 
 
70
void cdxCDynamicDialog::OnSize(UINT nType, int cx, int cy) 
 
71
{
 
72
        CDialog::OnSize(nType, cx, cy);
 
73
        DoOnSize(nType, cx, cy);
 
74
}
 
75
 
 
76
void cdxCDynamicDialog::OnSizing(UINT fwSide, LPRECT pRect) 
 
77
{
 
78
        CDialog::OnSizing(fwSide, pRect);
 
79
        DoOnSizing(fwSide, pRect);
 
80
}
 
81
 
 
82
void cdxCDynamicDialog::OnTimer(UINT idEvent)
 
83
{
 
84
        CDialog::OnTimer(idEvent);
 
85
        DoOnTimer(idEvent);
 
86
}
 
87
 
 
88
 
 
89
/////////////////////////////////////////////////////////////////////////////
 
90
// cdxCDynamicChildDlg dialog
 
91
/////////////////////////////////////////////////////////////////////////////
 
92
 
 
93
IMPLEMENT_DYNAMIC(cdxCDynamicChildDlg,cdxCDynamicDialog);
 
94
 
 
95
/////////////////////////////////////////////////////////////////////////////
 
96
// message map
 
97
/////////////////////////////////////////////////////////////////////////////
 
98