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

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