home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / ole / tstcon / logdg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.5 KB  |  57 lines

  1. #if !defined(AFX_LOGGINGDLG_H__FB7E06FB_DD1D_11D0_8E12_00C04FB68D60__INCLUDED_)
  2. #define AFX_LOGGINGDLG_H__FB7E06FB_DD1D_11D0_8E12_00C04FB68D60__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // LoggingDlg.H : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CLoggingDlg dialog
  12.  
  13. class CLoggingDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17.     CLoggingDlg(CWnd* pParent = NULL);   // standard constructor
  18.  
  19. // Dialog Data
  20.     //{{AFX_DATA(CLoggingDlg)
  21.     enum { IDD = IDD_LOGGING };
  22.     CButton m_butFileNameBrowse;
  23.     CEdit   m_eboxFileName;
  24.     CString m_strFileName;
  25.     int     m_iLogType;
  26.     //}}AFX_DATA
  27.  
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CLoggingDlg)
  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(CLoggingDlg)
  41.     virtual BOOL OnInitDialog();
  42.     afx_msg void OnLogToDebug();
  43.     afx_msg void OnLogToFile();
  44.     afx_msg void OnFileNameBrowse();
  45.     afx_msg void OnLogToNull();
  46.     afx_msg void OnLogToOutput();
  47.     afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  48.     afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  55.  
  56. #endif // !defined(AFX_LOGGINGDLG_H__FB7E06FB_DD1D_11D0_8E12_00C04FB68D60__INCLUDED_)
  57.