-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathInputGrid.cpp
More file actions
49 lines (37 loc) · 931 Bytes
/
Copy pathInputGrid.cpp
File metadata and controls
49 lines (37 loc) · 931 Bytes
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
// InputGrid.cpp : implementation file
//
#include "stdafx.h"
#include "KCOMChart.h"
#include "InputGrid.h"
#include "groupproppage.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CInputGrid
CInputGrid::CInputGrid()
{
m_pPage = NULL;
}
CInputGrid::~CInputGrid()
{
}
BEGIN_MESSAGE_MAP(CInputGrid, CGridCtrl)
//{{AFX_MSG_MAP(CInputGrid)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CInputGrid message handlers
void CInputGrid::SetModified(BOOL bModified, int nRow, int nCol)
{
CGridCtrl::SetModified(bModified, nRow, nCol);
if (bModified)
m_pPage->SetModifiedFlag(TRUE);
}
void CInputGrid::SetPage(CGroupPropPage *pPage)
{
m_pPage = pPage;
}