-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCKPMixPg1.h
85 lines (65 loc) · 1.9 KB
/
CKPMixPg1.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
// CKPMixPg1.h : header file
//
// $Id$
//////////////////////////////////////////////////////////////////////
//{{AFX_INCLUDES()
#include "mshflexgrid.h"
//}}AFX_INCLUDES
#ifndef __CKPMIXPG1_H__
#define __CKPMIXPG1_H__
/////////////////////////////////////////////////////////////////////////////
// CCKPMixPg1 dialog
#include "CheckListCtrl.h"
#include "EditGrid.h"
#include "GridListDoc.h"
#include "KeywordPageListItems.h"
#include "DefinedRanges.h"
#include "CommonKeywordPage.h"
#ifndef baseCKPMixPg1
#define baseCKPMixPg1 CCommonKeywordPage
#endif
class CCKPMixPg1 : public baseCKPMixPg1
{
DECLARE_DYNCREATE(CCKPMixPg1)
DECLARE_LAYOUT();
// Construction
public:
CCKPMixPg1();
~CCKPMixPg1();
// Dialog Data
//{{AFX_DATA(CCKPMixPg1)
enum { IDD = IDD_KEY_MIX_PG1 };
CCheckListCtrl m_ctrlSolCheckList;
CEditGrid m_ctrlMixEditGrid;
//}}AFX_DATA
public:
std::map<int, LDBLE> mixComps;
protected:
CGridListDoc m_glDoc;
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CCKPMixPg1)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
void DDX_MixCompList(CDataExchange* pDX, int nIDC);
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCKPMixPg1)
virtual BOOL OnInitDialog();
afx_msg void OnItemchangedClSols(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKeyDownMshfgMix(short FAR* KeyCode, short Shift);
afx_msg void OnSetfocusClSols(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnEnterCellMshfgNumDesc();
afx_msg void OnEnterCellMshfgMix();
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);
DECLARE_MESSAGE_MAP()
};
#endif // __CKPMIXPG1_H__