-
Notifications
You must be signed in to change notification settings - Fork 168
/
Copy pathChartControls.cpp
45 lines (37 loc) · 1.67 KB
/
ChartControls.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
/************************************************************************
* Copyright(c) 2013, One Unified. All rights reserved. *
* email: [email protected] *
* *
* This file is provided as is WITHOUT ANY WARRANTY *
* without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* This software may not be used nor distributed without proper license *
* agreement. *
* *
* See the file LICENSE.txt for redistribution information. *
************************************************************************/
//#include "stdafx.h"
#include "ChartControls.h"
#include <iostream>
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNAMIC(CChartControls, CGUIFrameBase)
CChartControls::CChartControls(void)
: CGUIFrameBase()
{
CGUIFrameBase::SetPosition( 0, 0, 300, 100 );
CGUIFrameBase::Create();
m_btnNewMasterChart.Create( _T( "New Chart" ), 0, CRect( 5, 5, 50, 20 ), this, 100 );
}
CChartControls::~CChartControls(void) {
}
BEGIN_MESSAGE_MAP(CChartControls, CGUIFrameBase)
ON_BN_CLICKED( 100, &CChartControls::OnBtnNewMasterChartClicked )
END_MESSAGE_MAP()
void CChartControls::OnBtnNewMasterChartClicked() {
OnBtnNewMasterChart( this );
}