|
// DemoDlg.h : header file
//
//{{AFX_INCLUDES()
#include "ntgraph.h"
//}}AFX_INCLUDES
#if !defined(AFX_DEMODLG_H__37B1DB43_1BA0_4714_A817_B40FDB0AA0A1__INCLUDED_)
#define AFX_DEMODLG_H__37B1DB43_1BA0_4714_A817_B40FDB0AA0A1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CDemoDlg dialog
class CDemoDlg : public CDialog
{
// Construction
public:
CDemoDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CDemoDlg)
enum { IDD = IDD_DEMO_DIALOG };
CButton m_cbShowPan;
CButton m_cbShowZoom;
CButton m_cbShowCursor;
CButton m_cbShowElement4;
CButton m_cbShowElement3;
CButton m_cbShowElement2;
CButton m_cbShowElement1;
CNTGraph m_Graph;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDemoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
void ShowElement(const int nElement, const BOOL bShow);
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CDemoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnCheckShowElement1();
afx_msg void OnCheckShowElement2();
afx_msg void OnCheckShowElement3();
afx_msg void OnCheckShowElement4();
afx_msg void OnButtonPlot();
afx_msg void OnButtonClear();
afx_msg void OnButtonCopy();
afx_msg void OnCursorEventNtgraphctrl1(double x, double y);
afx_msg void OnShowCursor();
afx_msg void OnShowZoom();
afx_msg void OnShowPan();
DECLARE_EVENTSINK_MAP()
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_DEMODLG_H__37B1DB43_1BA0_4714_A817_B40FDB0AA0A1__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.