ChildFrm.h
Upload User: cding2008
Upload Date: 2007-01-03
Package Size: 1812k
Code Size: 2k
Category:

OpenGL program

Development Platform:

Visual C++

  1. /////////////////////////////////////////////////////////////////////////////
  2. // ChildFrm.h : Header file; interface of the CChildFrame class
  3. //
  4. // ModelMagic 3D and 'glOOP' (OpenGL Object Oriented Programming library)
  5. // Copyright (c) Craig Fahrnbach 1997, 1999
  6. //
  7. // OpenGL is a registered trademark of Silicon Graphics
  8. //
  9. //
  10. // This program is provided for educational and personal use only and
  11. // is provided without guarantee or warrantee expressed or implied.
  12. //
  13. // Commercial use is strickly prohibited without written permission
  14. // from ImageWare Development.
  15. //
  16. /////////////////////////////////////////////////////////////////////////////
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CChildFrame window
  19. class CChildFrame : public CMDIChildWnd
  20. {
  21. DECLARE_DYNCREATE(CChildFrame)
  22. public:
  23. BOOL m_bWndInitialized;
  24. CChildFrame();
  25. // Attributes
  26. public:
  27. // Operations
  28. public:
  29. // Overrides
  30. // ClassWizard generated virtual function overrides
  31. //{{AFX_VIRTUAL(CChildFrame)
  32. public:
  33. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  34. virtual void ActivateFrame(int nCmdShow = -1);
  35. //}}AFX_VIRTUAL
  36. // Implementation
  37. public:
  38. virtual ~CChildFrame();
  39. #ifdef _DEBUG
  40. virtual void AssertValid() const;
  41. virtual void Dump(CDumpContext& dc) const;
  42. #endif
  43. // Generated message map functions
  44. protected:
  45. //{{AFX_MSG(CChildFrame)
  46. afx_msg void OnPaletteChanged(CWnd* pFocusWnd);
  47. afx_msg BOOL OnQueryNewPalette();
  48. afx_msg void OnDestroy();
  49. //}}AFX_MSG
  50. DECLARE_MESSAGE_MAP()
  51. };
  52. /////////////////////////////////////////////////////////////////////////////