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 / macrodg.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.5 KB  |  59 lines

  1. #if !defined(AFX_MACRODLG_H__C4B24B98_0D5D_11D1_8E2F_00C04FB68D60__INCLUDED_)
  2. #define AFX_MACRODLG_H__C4B24B98_0D5D_11D1_8E2F_00C04FB68D60__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // MacroDlg.H : header file
  8. //
  9.  
  10. class CScript;
  11. class CScriptManager;
  12.  
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CMacroDlg dialog
  15.  
  16. class CMacroDlg :
  17.    public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CMacroDlg( CWnd* pParent = NULL );   // standard constructor
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(CMacroDlg)
  25.     enum { IDD = IDD_MACRO };
  26.     CButton m_butRun;
  27.     CListBox    m_lbMacros;
  28.     CString m_strMacroName;
  29.     //}}AFX_DATA
  30.  
  31.    CScriptManager* m_pScriptManager;
  32.    CScript* m_pScript;
  33.  
  34. // Overrides
  35.     // ClassWizard generated virtual function overrides
  36.     //{{AFX_VIRTUAL(CMacroDlg)
  37.     protected:
  38.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  39.     //}}AFX_VIRTUAL
  40.  
  41. // Implementation
  42. protected:
  43.    void UpdateMacroList();
  44.  
  45.     // Generated message map functions
  46.     //{{AFX_MSG(CMacroDlg)
  47.     virtual BOOL OnInitDialog();
  48.     afx_msg void OnOpenFile();
  49.     afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  50.     afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55. //{{AFX_INSERT_LOCATION}}
  56. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  57.  
  58. #endif // !defined(AFX_MACRODLG_H__C4B24B98_0D5D_11D1_8E2F_00C04FB68D60__INCLUDED_)
  59.