home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / logowiz / template / dialog.h < prev    next >
C/C++ Source or Header  |  1998-03-05  |  2KB  |  91 lines

  1. // $$dlg_hfile$$.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1995-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #if !defined($$FILE_NAME_SYMBOL$$_INCLUDED_)
  14. #define $$FILE_NAME_SYMBOL$$_INCLUDED_
  15.  
  16. #if _MSC_VER > 1000
  17. #pragma once
  18. #endif // _MSC_VER > 1000
  19.  
  20. $$IF(AUTOMATION)
  21. class $$DLGAUTOPROXY_CLASS$$;
  22.  
  23. $$ENDIF //AUTOMATION
  24. /////////////////////////////////////////////////////////////////////////////
  25. // $$DLG_CLASS$$ dialog
  26.  
  27. class $$DLG_CLASS$$ : public $$DLG_BASE_CLASS$$
  28. {
  29. $$IF(AUTOMATION)
  30.     DECLARE_DYNAMIC($$DLG_CLASS$$);
  31.     friend class $$DLGAUTOPROXY_CLASS$$;
  32.  
  33. $$ENDIF
  34. // Construction
  35. public:
  36.     $$DLG_CLASS$$(CWnd* pParent = NULL);    // standard constructor
  37. $$IF(AUTOMATION)
  38.     virtual ~$$DLG_CLASS$$();
  39. $$ENDIF
  40.  
  41. // Dialog Data
  42.     //{{AFX_DATA($$DLG_CLASS$$)
  43.     enum { IDD = IDD_$$SAFE_ROOT$$_DIALOG };
  44.         // NOTE: the ClassWizard will add data members here
  45.     //}}AFX_DATA
  46.  
  47.     // ClassWizard generated virtual function overrides
  48.     //{{AFX_VIRTUAL($$DLG_CLASS$$)
  49.     protected:
  50.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  51.     //}}AFX_VIRTUAL
  52.  
  53. // Implementation
  54. protected:
  55. $$IF(AUTOMATION)
  56.     $$DLGAUTOPROXY_CLASS$$* m_pAutoProxy;
  57. $$ENDIF
  58.     HICON m_hIcon;
  59. $$IF(AUTOMATION)
  60.  
  61.     BOOL CanExit();
  62. $$ENDIF //AUTOMATION
  63.  
  64.     // Generated message map functions
  65.     //{{AFX_MSG($$DLG_CLASS$$)
  66.     virtual BOOL OnInitDialog();
  67. $$IF(ABOUT)
  68.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  69. $$ENDIF
  70. $$IF(HELP)
  71.     afx_msg void OnDestroy();
  72. $$ENDIF
  73. $$IF(PRESS_ME_DIALOG)
  74.     afx_msg void OnPressMe();
  75. $$ENDIF
  76.     afx_msg void OnPaint();
  77.     afx_msg HCURSOR OnQueryDragIcon();
  78. $$IF(AUTOMATION)
  79.     afx_msg void OnClose();
  80.     virtual void OnOK();
  81.     virtual void OnCancel();
  82. $$ENDIF //AUTOMATION
  83.     //}}AFX_MSG
  84.     DECLARE_MESSAGE_MAP()
  85. };
  86.  
  87. //{{AFX_INSERT_LOCATION}}
  88. // $$INSERT_LOCATION_COMMENT$$
  89.  
  90. #endif // !defined($$FILE_NAME_SYMBOL$$_INCLUDED_)
  91.