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

  1. // FileOpenEx.cpp : implementation file
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "diff.h"
  6. #include "FileOpenEx.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CFileOpenEx dialog
  16.  
  17.  
  18. CFileOpenEx::CFileOpenEx(CWnd* pParent /*=NULL*/)
  19.     : CDialog(CFileOpenEx::IDD, pParent)
  20. {
  21.     //{{AFX_DATA_INIT(CFileOpenEx)
  22.         // NOTE: the ClassWizard will add member initialization here
  23.     //}}AFX_DATA_INIT
  24. }
  25.  
  26.  
  27. void CFileOpenEx::DoDataExchange(CDataExchange* pDX)
  28. {
  29.     CDialog::DoDataExchange(pDX);
  30.     //{{AFX_DATA_MAP(CFileOpenEx)
  31.         // NOTE: the ClassWizard will add DDX and DDV calls here
  32.     //}}AFX_DATA_MAP
  33. }
  34.  
  35.  
  36. BEGIN_MESSAGE_MAP(CFileOpenEx, CDialog)
  37.     //{{AFX_MSG_MAP(CFileOpenEx)
  38.     ON_WM_SIZE()
  39.     ON_BN_CLICKED(IDC_BUTTON_OPTIONS, OnButtonOptions)
  40.     //}}AFX_MSG_MAP
  41. END_MESSAGE_MAP()
  42.  
  43. /////////////////////////////////////////////////////////////////////////////
  44. // CFileOpenEx message handlers
  45.  
  46. int CFileOpenEx::DoModal() 
  47. {
  48.     // TODO: Add your specialized code here and/or call the base class
  49.     
  50.     return CDialog::DoModal();
  51. }
  52.  
  53. void CFileOpenEx::OnSize(UINT nType, int cx, int cy) 
  54. {
  55.     CDialog::OnSize(nType, cx, cy);
  56.     
  57.     // TODO: Add your message handler code here
  58.     
  59. }
  60.  
  61. void CFileOpenEx::OnButtonOptions() 
  62. {
  63.     // TODO: Add your control notification handler code here
  64.     
  65. }
  66.  
  67. void CFileOpenEx::OnFileNameChange()
  68. {
  69.  
  70. }
  71.