summaryrefslogtreecommitdiffstats
path: root/private/ole32/oleui/locppg.h
blob: 6cbfac8c9254378ad2e8b056e1bde8855184a6cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
//+---------------------------------------------------------------------
//
//  Microsoft Windows
//  Copyright (C) Microsoft Corporation, 1993 - 1994.
//
//  File:       locppg.h
//
//  Contents:   Defines the classes CGeneralPropertyPage,
//              CLocationPropertyPage, CSecurityPropertyPage and
//              CIdentityPropertyPage which manage the four property
//              pages per AppId.
//
//  Classes:
//
//  Methods:
//
//  History:    23-Apr-96   BruceMa    Created.
//
//----------------------------------------------------------------------


#ifndef __LOCPPG_H__
#define __LOCPPG_H__

/////////////////////////////////////////////////////////////////////////////
// CGeneralPropertyPage dialog

class CGeneralPropertyPage : public CPropertyPage
{
        DECLARE_DYNCREATE(CGeneralPropertyPage)

// Construction
public:
        CGeneralPropertyPage();
        ~CGeneralPropertyPage();

// Dialog Data
        //{{AFX_DATA(CGeneralPropertyPage)
        enum { IDD = IDD_PROPPAGE5 };
        CString m_szServerName;
        CString m_szServerPath;
        CString m_szServerType;
        CString m_szPathTitle;
        CString m_szComputerName;
        //}}AFX_DATA

        int m_iServerType;
        BOOL m_fSurrogate;

// Overrides
        // ClassWizard generate virtual function overrides
        //{{AFX_VIRTUAL(CGeneralPropertyPage)
        protected:
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
        //}}AFX_VIRTUAL

// Implementation
protected:
        // Generated message map functions
        //{{AFX_MSG(CGeneralPropertyPage)
                // NOTE: the ClassWizard will add member functions here
        afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////
// CLocationPropertyPage dialog

class CLocationPropertyPage : public CPropertyPage
{
        DECLARE_DYNCREATE(CLocationPropertyPage)

// Construction
public:
        CLocationPropertyPage();
        ~CLocationPropertyPage();

// Dialog Data
        //{{AFX_DATA(CLocationPropertyPage)
        enum { IDD = IDD_PROPPAGE11 };
        CString m_szComputerName;
        BOOL    m_fAtStorage;
        BOOL    m_fLocal;
        BOOL    m_fRemote;
        int     m_iInitial;
        //}}AFX_DATA

        BOOL    m_fCanBeLocal;
        CGeneralPropertyPage * m_pPage1;

// Overrides
        // ClassWizard generate virtual function overrides
        //{{AFX_VIRTUAL(CLocationPropertyPage)
        public:
        virtual BOOL OnSetActive();
        protected:
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
        //}}AFX_VIRTUAL

// Implementation
protected:
        // Generated message map functions
        //{{AFX_MSG(CLocationPropertyPage)
        afx_msg void OnBrowse();
        afx_msg void OnRunRemote();
        afx_msg void OnChange();
        afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()

        void UpdateControls();
};


/////////////////////////////////////////////////////////////////////////////
// CSecurityPropertyPage dialog

class CSecurityPropertyPage : public CPropertyPage
{
        DECLARE_DYNCREATE(CSecurityPropertyPage)

// Construction
public:
        CSecurityPropertyPage();
        ~CSecurityPropertyPage();

// Dialog Data
        //{{AFX_DATA(CSecurityPropertyPage)
        enum { IDD = IDD_PROPPAGE21 };
        int             m_iAccess;
        int             m_iLaunch;
        int             m_iConfig;
        int             m_iAccessIndex;
        int             m_iLaunchIndex;
        int             m_iConfigurationIndex;
        //}}AFX_DATA


// Overrides
        // ClassWizard generate virtual function overrides
        //{{AFX_VIRTUAL(CSecurityPropertyPage)
        protected:
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
        //}}AFX_VIRTUAL

// Implementation
protected:
        // Generated message map functions
        //{{AFX_MSG(CSecurityPropertyPage)
        afx_msg void OnDefaultAccess();
        afx_msg void OnCustomAccess();
        afx_msg void OnDefaultLaunch();
        afx_msg void OnCustomLaunch();
        afx_msg void OnDefaultConfig();
        afx_msg void OnCustomConfig();
        afx_msg void OnEditAccess();
        afx_msg void OnEditLaunch();
        afx_msg void OnEditConfig();
        afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()

};


/////////////////////////////////////////////////////////////////////////////
// CIdentityPropertyPage dialog

class CIdentityPropertyPage : public CPropertyPage
{
        DECLARE_DYNCREATE(CIdentityPropertyPage)

// Construction
public:
        CIdentityPropertyPage();
        ~CIdentityPropertyPage();

// Dialog Data
        //{{AFX_DATA(CIdentityPropertyPage)
        enum { IDD = IDD_PROPPAGE3 };
        CString m_szUserName;
        CString m_szPassword;
        CString m_szConfirmPassword;
        int             m_iIdentity;
        //}}AFX_DATA

        int             m_fService;

// Overrides
        // ClassWizard generate virtual function overrides
        //{{AFX_VIRTUAL(CIdentityPropertyPage)
        protected:
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
        //}}AFX_VIRTUAL

// Implementation
protected:
        // Generated message map functions
        //{{AFX_MSG(CIdentityPropertyPage)
        afx_msg void OnChange();
        afx_msg void OnBrowse();
        afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()

};



#endif // __LOCPPG_H__