www.pudn.com > LinePlotTest.zip > LinePlotTestDlg.h
// LinePlotTestDlg.h : header file // #if !defined(AFX_LINEPLOTTESTDLG_H__2B7C15E7_EF20_49C5_A59A_100B36A474EA__INCLUDED_) #define AFX_LINEPLOTTESTDLG_H__2B7C15E7_EF20_49C5_A59A_100B36A474EA__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CLinePlotTestDlg dialog #include "LinePlot.h" #include#define ID_CTRL_LINE_PLOT (WM_USER+1001) class CLinePlotTestDlg : public CDialog { // Construction/Destruction public: CLinePlotTestDlg(CWnd* pParent = NULL); // standard constructor private: void SizeControls(); // Dialog Data public: //{{AFX_DATA(CLinePlotTestDlg) enum { IDD = IDD_LINEPLOTTEST_DIALOG }; CLinePlot m_LinePlot; CComboBox m_cmbStyle; CListBox m_lstReceived; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CLinePlotTestDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support virtual BOOL PreCreateWindow(CREATESTRUCT& cs); //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CLinePlotTestDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnBtnCurrColor(); afx_msg void OnBtnCurrUpdate(); afx_msg void OnBtnCurrRemove(); afx_msg void OnBtnClear(); afx_msg void OnCloseupCmbStyle(); afx_msg void OnPlotSelChange(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnPlotLimitsChange(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnPlotMouseMove(NMHDR* pNMHDR, LRESULT* pResult); afx_msg void OnBtnLoadFromFile(); afx_msg void OnBtnPrint(); afx_msg void OnBtnSaveToFile(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_LINEPLOTTESTDLG_H__2B7C15E7_EF20_49C5_A59A_100B36A474EA__INCLUDED_)