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.

52 lines
1.1 KiB

  1. #ifndef NEWATTR_HPP_INCLUDED
  2. #define NEWATTR_HPP_INCLUDED
  3. class CreateAttributeDialog : public CDialog
  4. {
  5. public:
  6. CreateAttributeDialog( ComponentData *pScope,
  7. LPDATAOBJECT lpDataObject );
  8. ~CreateAttributeDialog();
  9. BOOL fDialogLoaded;
  10. BOOL MultiValued;
  11. UINT SyntaxOrdinal;
  12. CString CommonName;
  13. CString OID;
  14. CString LdapDisplayName;
  15. CString Description;
  16. CString Min;
  17. CString Max;
  18. ComponentData *pScopeControl;
  19. LPDATAOBJECT lpScopeDataObj;
  20. CParsedEdit m_editOID;
  21. CParsedEdit m_editLowerRange;
  22. CParsedEdit m_editUpperRange;
  23. virtual void OnOK();
  24. virtual void DoDataExchange( CDataExchange *pDX );
  25. virtual BOOL OnInitDialog();
  26. BOOL OnHelp(WPARAM wParam, LPARAM lParam) { return ShowHelp( GetSafeHwnd(), wParam, lParam, help_map, FALSE ); };
  27. BOOL OnContextHelp(WPARAM wParam, LPARAM lParam) { return ShowHelp( GetSafeHwnd(), wParam, lParam, help_map, TRUE ); };
  28. void OnSelchangeSyntax();
  29. DECLARE_MESSAGE_MAP()
  30. private:
  31. static const DWORD help_map[];
  32. };
  33. #endif // NEWATTR_HPP_INCLUDED