home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / com / dcom / mfccont / mfccontdlg.h < prev    next >
C/C++ Source or Header  |  1998-04-02  |  2KB  |  56 lines

  1. // MFCContDlg.h : header file
  2. //
  3. //{{AFX_INCLUDES()
  4. #include "drawctl.h"
  5. //}}AFX_INCLUDES
  6.  
  7. #if !defined(AFX_MFCCONTDLG_H__29DC9F78_5706_11D0_9899_00C04FD7D06E__INCLUDED_)
  8. #define AFX_MFCCONTDLG_H__29DC9F78_5706_11D0_9899_00C04FD7D06E__INCLUDED_
  9.  
  10. #if _MSC_VER >= 1000
  11. #pragma once
  12. #endif // _MSC_VER >= 1000
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CMFCContDlg dialog
  16.  
  17. class CMFCContDlg : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CMFCContDlg(CWnd* pParent = NULL);  // standard constructor
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(CMFCContDlg)
  25.     enum { IDD = IDD_MFCCONT_DIALOG };
  26.     CDrawCtl    m_DrawCtl;
  27.     //}}AFX_DATA
  28.  
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CMFCContDlg)
  31.     protected:
  32.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. protected:
  37.     HICON m_hIcon;
  38.  
  39.     // Generated message map functions
  40.     //{{AFX_MSG(CMFCContDlg)
  41.     virtual BOOL OnInitDialog();
  42.     afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  43.     afx_msg void OnPaint();
  44.     afx_msg HCURSOR OnQueryDragIcon();
  45.     afx_msg void OnClear();
  46.     afx_msg void OnConnect();
  47.     afx_msg void OnDisconnect();
  48.     //}}AFX_MSG
  49.     DECLARE_MESSAGE_MAP()
  50. };
  51.  
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54.  
  55. #endif // !defined(AFX_MFCCONTDLG_H__29DC9F78_5706_11D0_9899_00C04FD7D06E__INCLUDED_)
  56.