-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAllVirtualPropertySheet.cpp
202 lines (148 loc) · 5.33 KB
/
AllVirtualPropertySheet.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
// AllVirtualPropertySheet.cpp : implementation file
//
// $Id$
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "phreeqci2.h"
#include "AllVirtualPropertySheet.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CAllVirtualPropertySheet
IMPLEMENT_DYNAMIC(CAllVirtualPropertySheet, CPropertySheet)
CAllVirtualPropertySheet::CAllVirtualPropertySheet(UINT nIDCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(nIDCaption, pParentWnd, iSelectPage)
{
}
CAllVirtualPropertySheet::CAllVirtualPropertySheet(LPCTSTR pszCaption, CWnd* pParentWnd, UINT iSelectPage)
:CPropertySheet(pszCaption, pParentWnd, iSelectPage)
{
}
CAllVirtualPropertySheet::~CAllVirtualPropertySheet()
{
}
BEGIN_MESSAGE_MAP(CAllVirtualPropertySheet, CPropertySheet)
//{{AFX_MSG_MAP(CAllVirtualPropertySheet)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CAllVirtualPropertySheet message handlers
void CAllVirtualPropertySheet::CalcWindowRect(LPRECT lpClientRect, UINT nAdjustType)
{
// Add your specialized code here and/or call the base class
CPropertySheet::CalcWindowRect(lpClientRect, nAdjustType);
}
BOOL CAllVirtualPropertySheet::ContinueModal()
{
// Add your specialized code here and/or call the base class
return CPropertySheet::ContinueModal();
}
BOOL CAllVirtualPropertySheet::Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext)
{
// Add your specialized code here and/or call the base class
return CWnd::Create(lpszClassName, lpszWindowName, dwStyle, rect, pParentWnd, nID, pContext);
}
LRESULT CAllVirtualPropertySheet::DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::DefWindowProc(message, wParam, lParam);
}
BOOL CAllVirtualPropertySheet::DestroyWindow()
{
// Add your specialized code here and/or call the base class
return CPropertySheet::DestroyWindow();
}
void CAllVirtualPropertySheet::DoDataExchange(CDataExchange* pDX)
{
// Add your specialized code here and/or call the base class
CPropertySheet::DoDataExchange(pDX);
}
int CAllVirtualPropertySheet::DoModal()
{
// Add your specialized code here and/or call the base class
return CPropertySheet::DoModal();
}
CScrollBar* CAllVirtualPropertySheet::GetScrollBarCtrl(int nBar) const
{
// Add your specialized code here and/or call the base class
return CPropertySheet::GetScrollBarCtrl(nBar);
}
BOOL CAllVirtualPropertySheet::OnAmbientProperty(COleControlSite* pSite, DISPID dispid, VARIANT* pvar)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::OnAmbientProperty(pSite, dispid, pvar);
}
BOOL CAllVirtualPropertySheet::OnChildNotify(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pLResult)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::OnChildNotify(message, wParam, lParam, pLResult);
}
BOOL CAllVirtualPropertySheet::OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::OnCmdMsg(nID, nCode, pExtra, pHandlerInfo);
}
BOOL CAllVirtualPropertySheet::OnCommand(WPARAM wParam, LPARAM lParam)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::OnCommand(wParam, lParam);
}
void CAllVirtualPropertySheet::OnFinalRelease()
{
// Add your specialized code here and/or call the base class
CPropertySheet::OnFinalRelease();
}
BOOL CAllVirtualPropertySheet::OnInitDialog()
{
BOOL bResult = CPropertySheet::OnInitDialog();
// Add your specialized code here
return bResult;
}
BOOL CAllVirtualPropertySheet::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::OnNotify(wParam, lParam, pResult);
}
void CAllVirtualPropertySheet::PostNcDestroy()
{
// Add your specialized code here and/or call the base class
CPropertySheet::PostNcDestroy();
}
BOOL CAllVirtualPropertySheet::PreCreateWindow(CREATESTRUCT& cs)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::PreCreateWindow(cs);
}
void CAllVirtualPropertySheet::PreSubclassWindow()
{
// Add your specialized code here and/or call the base class
CPropertySheet::PreSubclassWindow();
}
BOOL CAllVirtualPropertySheet::PreTranslateMessage(MSG* pMsg)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::PreTranslateMessage(pMsg);
}
void CAllVirtualPropertySheet::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{ // storing code
}
else
{ // loading code
}
}
LRESULT CAllVirtualPropertySheet::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
// Add your specialized code here and/or call the base class
return CPropertySheet::WindowProc(message, wParam, lParam);
}
void CAllVirtualPropertySheet::WinHelp(DWORD dwData, UINT nCmd)
{
// Add your specialized code here and/or call the base class
CPropertySheet::WinHelp(dwData, nCmd);
}