Leaked source code of windows server 2003
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.
 
 
 
 
 
 

80 lines
1.9 KiB

//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation 1996-2001.
//
// File: multisz.h
//
// Contents: definition of CDomainRegMultiSZ
// CAttrRegMultiSZ
// CLocalPolRegMultiSZ
// CConfigRegMultiSZ
//
//----------------------------------------------------------------------------
#include "regvldlg.h"
class CDomainRegMultiSZ : public CDomainRegString
{
public:
enum { IDD =IDD_DOMAIN_REGMULTISZ };
CDomainRegMultiSZ() : CDomainRegString(IDD) //Raid #381309, 4/31/2001
{
m_uTemplateResID = IDD;
}
virtual BOOL QueryMultiSZ() { return TRUE; }
protected:
virtual BOOL OnInitDialog ()
{
CDomainRegString::OnInitDialog ();
SendDlgItemMessage (IDC_NAME, EM_LIMITTEXT, 4096);
return TRUE;
}
};
class CAttrRegMultiSZ : public CAttrRegString
{
public:
enum { IDD =IDD_ATTR_REGMULTISZ };
CAttrRegMultiSZ() : CAttrRegString(IDD)
{
m_uTemplateResID = IDD;
}
virtual BOOL QueryMultiSZ() { return TRUE; }
};
class CLocalPolRegMultiSZ : public CLocalPolRegString
{
public:
enum { IDD =IDD_LOCALPOL_REGMULTISZ };
CLocalPolRegMultiSZ() : CLocalPolRegString(IDD)
{
m_uTemplateResID = IDD;
}
virtual BOOL QueryMultiSZ() { return TRUE; }
};
class CConfigRegMultiSZ : public CConfigRegString
{
public:
enum { IDD =IDD_CONFIG_REGMULTISZ };
CConfigRegMultiSZ() : CConfigRegString(IDD)
{
m_uTemplateResID = IDD;
}
virtual BOOL QueryMultiSZ() { return TRUE; }
protected:
virtual BOOL OnInitDialog ()
{
CConfigRegString::OnInitDialog ();
SendDlgItemMessage (IDC_NAME, EM_LIMITTEXT, 4096);
return TRUE;
}
};