-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCKPEquilibrium_PhasesPg1.h
90 lines (69 loc) · 2.38 KB
/
CKPEquilibrium_PhasesPg1.h
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
// CKPEquilibrium_PhasesPg1.h : header file
//
// $Id$
//////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "mshflexgrid.h"
//}}AFX_INCLUDES
#ifndef __CKPEQUILIBRIUM5F_PHASESPG1_H__
#define __CKPEQUILIBRIUM5F_PHASESPG1_H__
/////////////////////////////////////////////////////////////////////////////
// CCKPEquilibrium_PhasesPg1 dialog
#include "CheckListCtrl.h"
#include "EditGrid.h"
#include "GridListDoc.h"
#include "KeywordPageListItems.h"
#include "CommonKeywordPage.h"
#ifndef baseCKPEquilibrium_PhasesPg1
#define baseCKPEquilibrium_PhasesPg1 CCommonKeywordPage
#endif
class CCKPEquilibrium_PhasesPg1 : public baseCKPEquilibrium_PhasesPg1
{
DECLARE_DYNCREATE(CCKPEquilibrium_PhasesPg1)
DECLARE_LAYOUT();
// Construction
public:
std::list<CPurePhase> m_listPurePhase;
CCKPEquilibrium_PhasesPg1();
~CCKPEquilibrium_PhasesPg1();
// Dialog Data
//{{AFX_DATA(CCKPEquilibrium_PhasesPg1)
enum { IDD = IDD_KEY_EQUILIBRIUM_PHASES_PG1 };
CCheckListCtrl m_ctrlPhaseCheckList;
CEditGrid m_ctrlPhaseEditGrid;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CCKPEquilibrium_PhasesPg1)
public:
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CGridListDoc m_glDoc;
// COMMENT: {8/28/2001 1:28:54 PM} bool m_bComboFilledOnce;
BOOL InitPhaseCheckList();
BOOL InitPhaseEditGrid();
void DDX_PurePhaseList(CDataExchange *pDX, int nIDC);
// Generated message map functions
//{{AFX_MSG(CCKPEquilibrium_PhasesPg1)
virtual BOOL OnInitDialog();
afx_msg void OnEnterCellMshfgNumDesc();
afx_msg void OnEnterCellMshfgPhase();
afx_msg void OnSetfocusClPhase(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
afx_msg void OnItemchangedClPhase(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKeyDownMshfgPhase(short FAR* KeyCode, short Shift);
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
// custom grid handlers
afx_msg LRESULT OnBeginCellEdit(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnEndCellEdit(WPARAM wParam, LPARAM lParam);
afx_msg LRESULT OnSetfocusGrid(WPARAM wParam, LPARAM lParam);
afx_msg void OnViewChange(UINT uID);
DECLARE_MESSAGE_MAP()
};
#endif // __CKPEQUILIBRIUM5F_PHASESPG1_H__