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

  1. #if !defined(AFX_INSERTCONTROLDLG_H__C6531855_F70A_11D0_8E26_00C04FB68D60__INCLUDED_)
  2. #define AFX_INSERTCONTROLDLG_H__C6531855_F70A_11D0_8E26_00C04FB68D60__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // InsertControlDlg.H : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CInsertControlDlg dialog
  12.  
  13. class CInsertControlDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17.     CInsertControlDlg(CWnd* pParent = NULL);   // standard constructor
  18.  
  19. // Dialog Data
  20.     //{{AFX_DATA(CInsertControlDlg)
  21.     enum { IDD = IDD_INSERTCONTROL };
  22.     CStatic m_staticServerPath;
  23.     CButton m_butRequiredCategories;
  24.     CButton m_butIgnoreRequiredCategories;
  25.     CButton m_butOK;
  26.     CListBox    m_lbControls;
  27.     //}}AFX_DATA
  28.  
  29.    CLSID m_clsid;
  30.  
  31. // Overrides
  32.     // ClassWizard generated virtual function overrides
  33.     //{{AFX_VIRTUAL(CInsertControlDlg)
  34.     protected:
  35.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  36.     //}}AFX_VIRTUAL
  37.  
  38. // Implementation
  39. protected:
  40.    void RefreshControlList();
  41.  
  42.    ICatInformationPtr m_pCatInfo;
  43.    CArray< CATID, CATID& > m_aImplementedCategories;
  44.    CArray< CATID, CATID& > m_aRequiredCategories;
  45.    CList< CLSID, CLSID& > m_lControls;
  46.  
  47.     // Generated message map functions
  48.     //{{AFX_MSG(CInsertControlDlg)
  49.     virtual BOOL OnInitDialog();
  50.     afx_msg void OnImplementedCategories();
  51.     afx_msg void OnControlsDblClk();
  52.     afx_msg void OnRequiredCategories();
  53.     afx_msg void OnControlsSelChange();
  54.     afx_msg void OnIgnoreRequiredCategories();
  55.     afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  56.     afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  57.     //}}AFX_MSG
  58.     DECLARE_MESSAGE_MAP()
  59. };
  60.  
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  63.  
  64. #endif // !defined(AFX_INSERTCONTROLDLG_H__C6531855_F70A_11D0_8E26_00C04FB68D60__INCLUDED_)
  65.