You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
84 lines
2.5 KiB
84 lines
2.5 KiB
//+--------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1994 - 1998.
|
|
//
|
|
// File: Category.h
|
|
//
|
|
// Contents: categories property page (for an application)
|
|
//
|
|
// Classes: CCategory
|
|
//
|
|
// History: 03-14-1998 stevebl Commented
|
|
//
|
|
//---------------------------------------------------------------------------
|
|
|
|
#if !defined(AFX_CATEGORY_H__DE2C8018_91E4_11D1_984E_00C04FB9603F__INCLUDED_)
|
|
#define AFX_CATEGORY_H__DE2C8018_91E4_11D1_984E_00C04FB9603F__INCLUDED_
|
|
|
|
#if _MSC_VER >= 1000
|
|
#pragma once
|
|
#endif // _MSC_VER >= 1000
|
|
// Category.h : header file
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CCategory dialog
|
|
|
|
class CCategory : public CPropertyPage
|
|
{
|
|
DECLARE_DYNCREATE(CCategory)
|
|
|
|
// Construction
|
|
public:
|
|
CCategory();
|
|
~CCategory();
|
|
|
|
CCategory ** m_ppThis;
|
|
|
|
// Dialog Data
|
|
//{{AFX_DATA(CCategory)
|
|
enum { IDD = IDD_CATEGORY };
|
|
CListBox m_Available;
|
|
CListBox m_Assigned;
|
|
//}}AFX_DATA
|
|
CAppData * m_pData;
|
|
IClassAdmin * m_pIClassAdmin;
|
|
LONG_PTR m_hConsoleHandle;
|
|
MMC_COOKIE m_cookie;
|
|
BOOL m_fModified;
|
|
BOOL m_fRSOP;
|
|
BOOL m_fPreDeploy;
|
|
APPCATEGORYINFOLIST * m_pCatList;
|
|
|
|
// Overrides
|
|
// ClassWizard generate virtual function overrides
|
|
//{{AFX_VIRTUAL(CCategory)
|
|
public:
|
|
virtual BOOL OnApply();
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
virtual LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CCategory)
|
|
afx_msg void OnAssign();
|
|
afx_msg void OnRemove();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
|
|
afx_msg void OnSelchangeList1();
|
|
afx_msg void OnSelchangeList2();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
void RefreshData(void);
|
|
BOOL IsAssigned(GUID &);
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_CATEGORY_H__DE2C8018_91E4_11D1_984E_00C04FB9603F__INCLUDED_)
|