windows-nt/Source/XPSP1/NT/admin/snapin/schmmgmt/newattr.hpp

53 lines
1.1 KiB
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
#ifndef NEWATTR_HPP_INCLUDED
#define NEWATTR_HPP_INCLUDED
class CreateAttributeDialog : public CDialog
{
public:
CreateAttributeDialog( ComponentData *pScope,
LPDATAOBJECT lpDataObject );
~CreateAttributeDialog();
BOOL fDialogLoaded;
BOOL MultiValued;
UINT SyntaxOrdinal;
CString CommonName;
CString OID;
CString LdapDisplayName;
CString Description;
CString Min;
CString Max;
ComponentData *pScopeControl;
LPDATAOBJECT lpScopeDataObj;
CParsedEdit m_editOID;
CParsedEdit m_editLowerRange;
CParsedEdit m_editUpperRange;
virtual void OnOK();
virtual void DoDataExchange( CDataExchange *pDX );
virtual BOOL OnInitDialog();
BOOL OnHelp(WPARAM wParam, LPARAM lParam) { return ShowHelp( GetSafeHwnd(), wParam, lParam, help_map, FALSE ); };
BOOL OnContextHelp(WPARAM wParam, LPARAM lParam) { return ShowHelp( GetSafeHwnd(), wParam, lParam, help_map, TRUE ); };
void OnSelchangeSyntax();
DECLARE_MESSAGE_MAP()
private:
static const DWORD help_map[];
};
#endif // NEWATTR_HPP_INCLUDED