home *** CD-ROM | disk | FTP | other *** search
/ Mastering MFC Development / MMD.ISO / labs / c06 / lab04 / ex02 / fileopenex.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-02-20  |  1.2 KB  |  51 lines

  1. #ifndef __FILEOPENEX_H__
  2. #define __FILEOPENEX_H__
  3.  
  4. // FileOpenEx.h : header file
  5. //
  6.  
  7. /////////////////////////////////////////////////////////////////////////////
  8. // CFileOpenEx dialog
  9.  
  10. class CFileOpenEx : public CDialog
  11. {
  12. // Construction
  13. public:
  14.     CFileOpenEx(CWnd* pParent = NULL);   // standard constructor
  15.  
  16. // Dialog Data
  17.     //{{AFX_DATA(CFileOpenEx)
  18.     enum { IDD = IDD_FILEOPEN_EX };
  19.         // NOTE: the ClassWizard will add data members here
  20.     //}}AFX_DATA
  21.  
  22.  
  23. // Overrides
  24.     // ClassWizard generated virtual function overrides
  25.     //{{AFX_VIRTUAL(CFileOpenEx)
  26.     public:
  27.     virtual int DoModal();
  28.     protected:
  29.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  30.     //}}AFX_VIRTUAL
  31.  
  32. // Implementation
  33. protected:
  34.     virtual void OnFileNameChange();
  35.     BOOL m_bUnfolded;
  36.     BOOL m_bFirstTime;
  37.     CRichEditCtrl m_RichEdit;
  38.  
  39.     // Generated message map functions
  40.     //{{AFX_MSG(CFileOpenEx)
  41.     afx_msg void OnSize(UINT nType, int cx, int cy);
  42.     afx_msg void OnButtonOptions();
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47. //{{AFX_INSERT_LOCATION}}
  48. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  49.  
  50. #endif // __FILEOPENEX_H__
  51.