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

  1. #if !defined(AFX_COMPONENTCATEGORIESDLG_H__B1590DF0_0783_11D1_8E2E_00C04FB68D60__INCLUDED_)
  2. #define AFX_COMPONENTCATEGORIESDLG_H__B1590DF0_0783_11D1_8E2E_00C04FB68D60__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // ComponentCategoriesDlg.H : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CComponentCategoriesDlg dialog
  12.  
  13. class CComponentCategoriesDlg : public CDialog
  14. {
  15. // Construction
  16. public:
  17.     CComponentCategoriesDlg( UINT idCaption, CWnd* pParent = NULL );
  18.  
  19. // Dialog Data
  20.     //{{AFX_DATA(CComponentCategoriesDlg)
  21.     enum { IDD = IDD_COMPONENTCATEGORIES };
  22.     CCheckListBox   m_lbCategories;
  23.     //}}AFX_DATA
  24.  
  25.    UINT m_idCaption;
  26.    CList< CATID, CATID& > m_lSelectedCategories;
  27.  
  28. // Overrides
  29.     // ClassWizard generated virtual function overrides
  30.     //{{AFX_VIRTUAL(CComponentCategoriesDlg)
  31.     protected:
  32.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  33.     //}}AFX_VIRTUAL
  34.  
  35. // Implementation
  36. protected:
  37.    ICatInformationPtr m_pCatInfo;
  38.    CArray< CATID, CATID& > m_aAvailableCategories;
  39.  
  40.     // Generated message map functions
  41.     //{{AFX_MSG(CComponentCategoriesDlg)
  42.     virtual BOOL OnInitDialog();
  43.     afx_msg void OnSelectAll();
  44.     afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
  45.     afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. //{{AFX_INSERT_LOCATION}}
  51. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  52.  
  53. #endif // !defined(AFX_COMPONENTCATEGORIESDLG_H__B1590DF0_0783_11D1_8E2E_00C04FB68D60__INCLUDED_)
  54.