teechartdlg.h
来自「对Teechart进行封装」· C头文件 代码 · 共 71 行
H
71 行
#if !defined(AFX_TESTDLG_H__652B2DC0_99D6_4CAC_9255_1F25240A1EBA__INCLUDED_)
#define AFX_TESTDLG_H__652B2DC0_99D6_4CAC_9255_1F25240A1EBA__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TestDlg.h : header file
//
#include "TeeChart_h\tchart.h"
/////////////////////////////////////////////////////////////////////////////
// CTeeChartDlg dialog
class CLASS_EXPORT_CHART CTeeChartDlg : public CDialog
{
// Construction
public:
CTeeChartDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CTeeChartDlg)
//enum { IDD = IDD_DLALOG_CHART};
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTeeChartDlg)
public:
virtual CScrollBar* GetScrollBarCtrl(int nBar) const;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CTeeChartDlg)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
virtual BOOL OnInitDialog();
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnPaint();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnButtonZoomin();
afx_msg void OnButtonZoomout();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnExportBmp();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
void Create(CWnd* pParent = NULL);
public:
CTChart* m_pTChart;
private:
CToolBar* m_pWndToolBar;
short m_nHMaxPos;
short m_nHScrollUnit;
short m_nHScrollPageUnit;
private:
void CalcScrollUnit();
void SetScrollInfo();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTDLG_H__652B2DC0_99D6_4CAC_9255_1F25240A1EBA__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?