mirror of https://github.com/tongzx/nt5src
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
52 lines
1.1 KiB
#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
|