home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / modeless / adderdlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.3 KB  |  52 lines

  1. // AdderDlg.h : header file
  2. //
  3.  
  4. // This is a part of the Microsoft Foundation Classes C++ library.
  5. // Copyright (C) 1992-1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Microsoft Foundation Classes Reference and related
  10. // electronic documentation provided with the library.
  11. // See these sources for detailed information regarding the
  12. // Microsoft Foundation Classes product.
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CAdderDialog dialog
  16.  
  17. class CAdderDialog : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CAdderDialog(CWnd* pParent);   // standard constructor
  22.     BOOL Create();
  23.  
  24. // Dialog Data
  25.     //{{AFX_DATA(CAdderDialog)
  26.     enum { IDD = IDD_ADDME };
  27.         // NOTE: the ClassWizard will add data members here
  28.     //}}AFX_DATA
  29.  
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CAdderDialog)
  34.     protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  36.     virtual void PostNcDestroy();
  37.     //}}AFX_VIRTUAL
  38.  
  39. // Implementation
  40. protected:
  41.  
  42.     CWnd* m_pParent;
  43.     int m_nID;
  44.  
  45.     // Generated message map functions
  46.     //{{AFX_MSG(CAdderDialog)
  47.     virtual void OnOK();
  48.     virtual void OnCancel();
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.