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

  1. #if !defined(AFX_DLGFILE_H__7900AD64_A65E_11D1_8316_00A0C91BC942__INCLUDED_)
  2. #define AFX_DLGFILE_H__7900AD64_A65E_11D1_8316_00A0C91BC942__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // DlgFile.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDlgFile dialog
  12.  
  13. class CDlgFile : public CDialog
  14. {
  15. // Construction
  16. public:
  17.     void SetFile(LPCTSTR szFile);
  18.     CString& GetFile();
  19.     CDlgFile(CWnd* pParent = NULL);   // standard constructor
  20.  
  21. // Dialog Data
  22.     //{{AFX_DATA(CDlgFile)
  23.     enum { IDD = IDD_DIALOGFILE };
  24.     CEdit    m_ctlEditFile;
  25.     CString    m_strFile;
  26.     //}}AFX_DATA
  27.  
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CDlgFile)
  32.     protected:
  33.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. protected:
  38.  
  39.     // Generated message map functions
  40.     //{{AFX_MSG(CDlgFile)
  41.     virtual void OnOK();
  42.     virtual BOOL OnInitDialog();
  43.     afx_msg void OnButtonbrowse();
  44.     //}}AFX_MSG
  45.     DECLARE_MESSAGE_MAP()
  46. };
  47.  
  48. //{{AFX_INSERT_LOCATION}}
  49. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  50.  
  51. #endif // !defined(AFX_DLGFILE_H__7900AD64_A65E_11D1_8316_00A0C91BC942__INCLUDED_)
  52.