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 / modeldlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.4 KB  |  52 lines

  1. // modeldlg.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. // CMainDlg dialog
  16.  
  17. class CMainDlg : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CMainDlg(CWnd* pParent = NULL); // standard constructor
  22.  
  23.     void BoxDone();
  24.  
  25. // Dialog Data
  26.     //{{AFX_DATA(CMainDlg)
  27.     enum { IDD = IDD_MAIN_DIALOG };
  28.         // NOTE: the ClassWizard will add data members here
  29.     //}}AFX_DATA
  30.  
  31.     // ClassWizard generated virtual function overrides
  32.     //{{AFX_VIRTUAL(CMainDlg)
  33.     protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.     //}}AFX_VIRTUAL
  36.  
  37. // Implementation
  38. protected:
  39.     HICON m_hIcon;
  40.     CAdderDialog* m_pModeless;
  41.  
  42.     // Generated message map functions
  43.     //{{AFX_MSG(CMainDlg)
  44.     virtual BOOL OnInitDialog();
  45.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  46.     afx_msg void OnPaint();
  47.     afx_msg HCURSOR OnQueryDragIcon();
  48.     virtual void OnOK();
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.