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.

82 lines
1.8 KiB

  1. // KeyDView.h : header file
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. // CKeyDataView form view
  5. #ifndef __AFXEXT_H__
  6. #include <afxext.h>
  7. #endif
  8. class CKeyDataView : public CFormView
  9. {
  10. protected:
  11. CKeyDataView(); // protected constructor used by dynamic creation
  12. DECLARE_DYNCREATE(CKeyDataView)
  13. // Form Data
  14. public:
  15. //{{AFX_DATA(CKeyDataView)
  16. enum { IDD = IDD_KEY_DATA_VIEW };
  17. CButton m_ctrlGroupDN;
  18. CStatic m_ctrlStarts;
  19. CStatic m_ctrlExpires;
  20. CStatic m_ctrlState;
  21. CStatic m_ctrlLocality;
  22. CStatic m_ctrlUnit;
  23. CStatic m_ctrlOrg;
  24. CStatic m_ctrlNetAddr;
  25. CStatic m_ctrlStaticName;
  26. CStatic m_ctrlCountry;
  27. CStatic m_ctrlBits;
  28. CEdit m_ctrlName;
  29. CString m_szBits;
  30. CString m_szCountry;
  31. CString m_szName;
  32. CString m_szDNNetAddress;
  33. CString m_szOrganization;
  34. CString m_szStatus;
  35. CString m_szUnit;
  36. CString m_szState;
  37. CString m_szLocality;
  38. CString m_szExpires;
  39. CString m_szStarts;
  40. //}}AFX_DATA
  41. // Attributes
  42. public:
  43. // Operations
  44. public:
  45. // Overrides
  46. // ClassWizard generated virtual function overrides
  47. //{{AFX_VIRTUAL(CKeyDataView)
  48. public:
  49. virtual BOOL PreTranslateMessage(MSG* pMsg);
  50. protected:
  51. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  52. virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  53. //}}AFX_VIRTUAL
  54. // Implementation
  55. protected:
  56. virtual ~CKeyDataView();
  57. #ifdef _DEBUG
  58. virtual void AssertValid() const;
  59. virtual void Dump(CDumpContext& dc) const;
  60. #endif
  61. // Generated message map functions
  62. //{{AFX_MSG(CKeyDataView)
  63. afx_msg void OnChangeViewkeyName();
  64. //}}AFX_MSG
  65. DECLARE_MESSAGE_MAP()
  66. protected:
  67. void EnableDataView( BOOL fEnable, BOOL fEnableName );
  68. void FillInCrackedInfo( CKey* pKey );
  69. };
  70. /////////////////////////////////////////////////////////////////////////////