3DHelperDemoSimpleDlg.h
上传用户:qzpk666
上传日期:2022-08-04
资源大小:59k
文件大小:2k
源码类别:

对话框与窗口

开发平台:

Visual C++

  1. // 3DHelperDemoSimpleDlg.h : header file
  2. //
  3. #if !defined(AFX_3DHelperDemoSimpleDLG_H__F5D7B078_9932_46B1_BB67_6E611672AE4F__INCLUDED_)
  4. #define AFX_3DHelperDemoSimpleDLG_H__F5D7B078_9932_46B1_BB67_6E611672AE4F__INCLUDED_
  5. #include "MF3DHelper.h" // Added by ClassView
  6. #if _MSC_VER > 1000
  7. #pragma once
  8. #endif // _MSC_VER > 1000
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CMy3DHelperDemoSimpleDlg dialog
  11. class CMy3DHelperDemoSimpleDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CMy3DHelperDemoSimpleDlg(CWnd* pParent = NULL); // standard constructor
  16. // Dialog Data
  17. //{{AFX_DATA(CMy3DHelperDemoSimpleDlg)
  18. enum { IDD = IDD_MY3DHelperDemoSimple_DIALOG };
  19. // NOTE: the ClassWizard will add data members here
  20. //}}AFX_DATA
  21. // ClassWizard generated virtual function overrides
  22. //{{AFX_VIRTUAL(CMy3DHelperDemoSimpleDlg)
  23. protected:
  24. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  25. //}}AFX_VIRTUAL
  26. // Implementation
  27. protected:
  28. HICON m_hIcon;
  29. // Generated message map functions
  30. //{{AFX_MSG(CMy3DHelperDemoSimpleDlg)
  31. virtual BOOL OnInitDialog();
  32. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  33. afx_msg void OnPaint();
  34. afx_msg HCURSOR OnQueryDragIcon();
  35. afx_msg void OnTimer(UINT nIDEvent);
  36. //}}AFX_MSG
  37. DECLARE_MESSAGE_MAP()
  38. private:
  39. void initialize();
  40. void redraw();
  41. CMF3DHelper m_c3DHelper;
  42. };
  43. //{{AFX_INSERT_LOCATION}}
  44. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  45. #endif // !defined(AFX_3DHelperDemoSimpleDLG_H__F5D7B078_9932_46B1_BB67_6E611672AE4F__INCLUDED_)