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

  1. #if !defined(AFX_CDlgSave_H__C1AC211B_8ABF_11D1_B145_000000000000__INCLUDED_)
  2. #define AFX_CDlgSave_H__C1AC211B_8ABF_11D1_B145_000000000000__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // CDlgSave.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDlgSave dialog
  12.  
  13. class CBrkPnts;
  14.  
  15. #include "subdialog.h"
  16.  
  17. class CDlgSave : public CSubDialog
  18. {
  19. // Construction
  20. public:
  21.     void SetStats(BOOL fUpdate = FALSE);
  22.     int m_cBrks;
  23.     CDlgSave(CWnd* pParent = NULL);   // standard constructor
  24.     void SetBrkPnts(CBrkPnts *pBrkPnts) {m_pBrkPnts = pBrkPnts;}
  25.     ~CDlgSave();
  26.     BOOL Create(CWnd *pParent);
  27.  
  28. // Dialog Data
  29.     //{{AFX_DATA(CDlgSave)
  30.     enum { IDD = IDD_DLGSAVE };
  31.     BOOL    m_fSaveOnlyEnabled;
  32.     CString    m_strFile;
  33.     BOOL    m_fOutputWnd;
  34.     CString    m_strComment;
  35.     BOOL    m_fOld;
  36.     CString    m_strStats;
  37.     //}}AFX_DATA
  38.  
  39.  
  40. // Overrides
  41.     // ClassWizard generated virtual function overrides
  42.     //{{AFX_VIRTUAL(CDlgSave)
  43.     protected:
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. protected:
  49.     CBrkPnts * m_pBrkPnts;
  50.     
  51.     // Generated message map functions
  52.     //{{AFX_MSG(CDlgSave)
  53.     afx_msg void OnButtonbrowse();
  54.     afx_msg void OnButtonload();
  55.     virtual BOOL OnInitDialog();
  56.     afx_msg void OnButtonclear();
  57.     afx_msg void OnSave();
  58.     afx_msg void OnOK();
  59.     afx_msg void OnBtnoutputwnd();
  60.     afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
  61.     //}}AFX_MSG
  62.     DECLARE_MESSAGE_MAP()
  63. };
  64.  
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67.  
  68. #endif // !defined(AFX_CDlgSave_H__C1AC211B_8ABF_11D1_B145_000000000000__INCLUDED_)
  69.