Source code of Windows XP (NT5)
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.

72 lines
2.1 KiB

  1. // CAuthCtl.h : Declaration of the CCertAuthorityCtrl OLE control class.
  2. /////////////////////////////////////////////////////////////////////////////
  3. // CCertAuthorityCtrl : See CAuthCtl.cpp for implementation.
  4. class CCertAuthorityCtrl : public COleControl
  5. {
  6. DECLARE_DYNCREATE(CCertAuthorityCtrl)
  7. // Constructor
  8. public:
  9. CCertAuthorityCtrl();
  10. // Overrides
  11. // Drawing function
  12. virtual void OnDraw(
  13. CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid);
  14. // Persistence
  15. virtual void DoPropExchange(CPropExchange* pPX);
  16. // Reset control state
  17. virtual void OnResetState();
  18. // Implementation
  19. protected:
  20. ~CCertAuthorityCtrl();
  21. DECLARE_OLECREATE_EX(CCertAuthorityCtrl) // Class factory and guid
  22. DECLARE_OLETYPELIB(CCertAuthorityCtrl) // GetTypeInfo
  23. DECLARE_PROPPAGEIDS(CCertAuthorityCtrl) // Property page IDs
  24. DECLARE_OLECTLTYPE(CCertAuthorityCtrl) // Type name and misc status
  25. // Subclassed control support
  26. BOOL PreCreateWindow(CREATESTRUCT& cs);
  27. BOOL IsSubclassedControl();
  28. LRESULT OnOcmCommand(WPARAM wParam, LPARAM lParam);
  29. // Message maps
  30. //{{AFX_MSG(CCertAuthorityCtrl)
  31. // NOTE - ClassWizard will add and remove member functions here.
  32. // DO NOT EDIT what you see in these blocks of generated code !
  33. //}}AFX_MSG
  34. DECLARE_MESSAGE_MAP()
  35. // Dispatch maps
  36. //{{AFX_DISPATCH(CCertAuthorityCtrl)
  37. // NOTE - ClassWizard will add and remove member functions here.
  38. // DO NOT EDIT what you see in these blocks of generated code !
  39. //}}AFX_DISPATCH
  40. DECLARE_DISPATCH_MAP()
  41. // Event maps
  42. //{{AFX_EVENT(CCertAuthorityCtrl)
  43. // NOTE - ClassWizard will add and remove member functions here.
  44. // DO NOT EDIT what you see in these blocks of generated code !
  45. //}}AFX_EVENT
  46. DECLARE_EVENT_MAP()
  47. // Dispatch and event IDs
  48. public:
  49. enum {
  50. //{{AFX_DISP_ID(CCertAuthorityCtrl)
  51. // NOTE: ClassWizard will add and remove enumeration elements here.
  52. // DO NOT EDIT what you see in these blocks of generated code !
  53. //}}AFX_DISP_ID
  54. };
  55. private:
  56. BOOL fInitialized;
  57. };