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

  1. #if !defined(AFX_DLGBRKPNTS_H__C1AC211A_8ABF_11D1_B145_000000000000__INCLUDED_)
  2. #define AFX_DLGBRKPNTS_H__C1AC211A_8ABF_11D1_B145_000000000000__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // DlgBrkPnts.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDlgBrkPnts dialog
  12.  
  13. class CBrkPnts;
  14.  
  15. class CDlgBrkPnts : public CDialog
  16. {
  17. // Construction
  18. public:
  19.     void UpdateInfo();
  20.     CBrkPnts * m_pBrkPnts;
  21.     int m_cBrks;
  22.     CDlgBrkPnts(CWnd* pParent = NULL);   // standard constructor
  23.     void SetBrkPnts(CBrkPnts *pBrkPnts) {m_pBrkPnts = pBrkPnts;}
  24.  
  25. // Dialog Data
  26.     //{{AFX_DATA(CDlgBrkPnts)
  27.     enum { IDD = IDD_DLGBRKPNT };
  28.     CEdit    m_ctlEditComment;
  29.     CStatic    m_ctlCount;
  30.     BOOL    m_fSaveOnlyEnabled;
  31.     CString    m_strFile;
  32.     //}}AFX_DATA
  33.  
  34.  
  35. // Overrides
  36.     // ClassWizard generated virtual function overrides
  37.     //{{AFX_VIRTUAL(CDlgBrkPnts)
  38.     protected:
  39.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  40.     //}}AFX_VIRTUAL
  41.  
  42. // Implementation
  43. protected:
  44.     // Generated message map functions
  45.     //{{AFX_MSG(CDlgBrkPnts)
  46.     afx_msg void OnButtonbrowse();
  47.     afx_msg void OnButtonload();
  48.     virtual BOOL OnInitDialog();
  49.     afx_msg void OnButtonclear();
  50.     afx_msg void OnOutput();
  51.     afx_msg void OnSave();
  52.     //}}AFX_MSG
  53.     DECLARE_MESSAGE_MAP()
  54. };
  55.  
  56. //{{AFX_INSERT_LOCATION}}
  57. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  58.  
  59. #endif // !defined(AFX_DLGBRKPNTS_H__C1AC211A_8ABF_11D1_B145_000000000000__INCLUDED_)
  60.