]> git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSWindows/ControlPanel/ControlPanel.rc
mDNSResponder-212.1.tar.gz
[apple/mdnsresponder.git] / mDNSWindows / ControlPanel / ControlPanel.rc
1 // Microsoft Visual C++ generated resource script.
2 //
3 #include "resource.h"
4
5 #define APSTUDIO_READONLY_SYMBOLS
6 /////////////////////////////////////////////////////////////////////////////
7 //
8 // Generated from the TEXTINCLUDE 2 resource.
9 //
10 #include "afxres.h"
11 #include "WinVersRes.h"
12
13 /////////////////////////////////////////////////////////////////////////////
14 #undef APSTUDIO_READONLY_SYMBOLS
15
16 /////////////////////////////////////////////////////////////////////////////
17 // English (U.S.) resources
18
19 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
20 #ifdef _WIN32
21 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
22 #pragma code_page(1252)
23 #endif //_WIN32
24
25
26 #ifdef APSTUDIO_INVOKED
27 /////////////////////////////////////////////////////////////////////////////
28 //
29 // TEXTINCLUDE
30 //
31
32 1 TEXTINCLUDE
33 BEGIN
34 "resource.h\0"
35 END
36
37 2 TEXTINCLUDE
38 BEGIN
39 "#include ""afxres.h""\r\n"
40 "\0"
41 END
42
43 3 TEXTINCLUDE
44 BEGIN
45 "#define _AFX_NO_SPLITTER_RESOURCES\r\n"
46 "#define _AFX_NO_OLE_RESOURCES\r\n"
47 "#define _AFX_NO_TRACKER_RESOURCES\r\n"
48 "#define _AFX_NO_PROPERTY_RESOURCES\r\n"
49 "\r\n"
50 "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
51 "#ifdef _WIN32\r\n"
52 "LANGUAGE 9, 1\r\n"
53 "#pragma code_page(1252)\r\n"
54 "#endif\r\n"
55 "#include ""res\\ControlPanel.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
56 "#include ""afxres.rc"" // Standard components\r\n"
57 "#endif\0"
58 END
59
60 #endif // APSTUDIO_INVOKED
61
62
63 /////////////////////////////////////////////////////////////////////////////
64 //
65 // Icon
66 //
67
68 // Icon with lowest ID value placed first to ensure application icon
69 // remains consistent on all systems.
70 IDR_APPLET ICON "res\\controlpanel.ico"
71 IDI_FAILURE ICON "res\\failure.ico"
72 IDI_SUCCESS ICON "res\\success.ico"
73
74 /////////////////////////////////////////////////////////////////////////////
75 //
76 // Dialog
77 //
78
79 IDR_APPLET_PAGE1 DIALOGEX 0, 0, 262, 140
80 STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
81 CAPTION "Hostname"
82 FONT 8, "MS Sans Serif", 0, 0, 0x0
83 BEGIN
84 LTEXT "Enter a hostname for this computer. Other computers on the Internet will be able to reach your computer using this hostname.",
85 IDC_STATIC,10,19,245,28
86 LTEXT "Hostname:",IDC_STATIC,13,55,35,8
87 EDITTEXT IDC_EDIT1,55,53,184,14,ES_AUTOHSCROLL
88 PUSHBUTTON "Password...",IDC_BUTTON1,55,72,65,14
89 ICON IDI_FAILURE,IDC_FAILURE,240,50,20,20,SS_CENTERIMAGE |
90 SS_REALSIZEIMAGE
91 ICON IDI_SUCCESS,IDC_SUCCESS,240,50,20,20,SS_CENTERIMAGE |
92 SS_REALSIZEIMAGE | NOT WS_VISIBLE
93 END
94
95 IDR_APPLET_PAGE2 DIALOGEX 0, 0, 262, 140
96 STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
97 CAPTION "Registration"
98 FONT 8, "MS Sans Serif", 0, 0, 0x0
99 BEGIN
100 CONTROL "Domain:",IDC_CHECK1,"Button",BS_AUTOCHECKBOX |
101 WS_TABSTOP,13,54,41,10
102 COMBOBOX IDC_COMBO2,55,53,193,46,CBS_DROPDOWN | CBS_SORT |
103 WS_DISABLED | WS_VSCROLL | WS_TABSTOP
104 PUSHBUTTON "Password...",IDC_BUTTON1,55,72,65,14
105 LTEXT "Check the box and enter a registration domain to enable Bonjour advertising beyond the local subnet. ",
106 IDC_STATIC,10,19,233,23
107 END
108
109 IDR_SECRET DIALOGEX 0, 0, 251, 90
110 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
111 WS_SYSMENU
112 CAPTION "Password"
113 FONT 8, "MS Shell Dlg", 400, 0, 0x1
114 BEGIN
115 DEFPUSHBUTTON "OK",IDOK,139,69,50,14
116 PUSHBUTTON "Cancel",IDCANCEL,194,69,50,14
117 LTEXT "Name:",IDC_STATIC,9,28,22,8
118 EDITTEXT IDC_KEY,49,26,195,14,ES_AUTOHSCROLL
119 LTEXT "Password:",IDC_STATIC,9,44,32,8
120 EDITTEXT IDC_SECRET,49,42,195,14,ES_PASSWORD | ES_AUTOHSCROLL
121 LTEXT "Enter a Password if your DNS server requires authentication.",
122 IDC_STATIC,7,7,237,15
123 END
124
125 IDR_APPLET_PAGE3 DIALOGEX 0, 0, 262, 140
126 STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
127 CAPTION "Browsing"
128 FONT 8, "MS Sans Serif", 0, 0, 0x0
129 BEGIN
130 LTEXT "Choose which domains to browse using Wide-Area Bonjour",
131 -1,7,16,248,12
132 CONTROL "",IDC_BROWSE_LIST,"SysListView32",LVS_REPORT |
133 LVS_ALIGNLEFT | LVS_NOCOLUMNHEADER | WS_BORDER |
134 WS_TABSTOP,7,37,248,57
135 PUSHBUTTON "Add",IDC_ADD_BROWSE_DOMAIN,152,100,50,14
136 PUSHBUTTON "Remove",IDC_REMOVE_BROWSE_DOMAIN,205,100,50,14
137 END
138
139 IDR_APPLET_PAGE4 DIALOGEX 0, 0, 262, 140
140 STYLE DS_SETFONT | WS_CHILD | WS_CAPTION
141 CAPTION "Power Management"
142 FONT 8, "MS Sans Serif", 0, 0, 0x0
143 BEGIN
144 CONTROL "Allow Bonjour to wake this machine on network access.",IDC_POWER_MANAGEMENT,
145 "Button",BS_AUTOCHECKBOX | WS_TABSTOP,13,19,199,8
146 LTEXT "Warning: Allowing Bonjour to bring the computer out of standby may cause this computer to periodically wakeup to refresh its network state.",IDC_STATIC,13,41,227,20
147 END
148
149 IDR_ADD_BROWSE_DOMAIN DIALOGEX 0, 0, 230, 95
150 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION |
151 WS_SYSMENU
152 CAPTION "Add Browse Domain"
153 FONT 8, "MS Shell Dlg", 400, 0, 0x1
154 BEGIN
155 DEFPUSHBUTTON "OK",IDOK,117,74,50,14
156 PUSHBUTTON "Cancel",IDCANCEL,173,74,50,14
157 COMBOBOX IDC_COMBO1,35,42,188,100,CBS_DROPDOWN | CBS_SORT |
158 WS_VSCROLL | WS_TABSTOP
159 LTEXT "Domain:",IDC_STATIC,7,43,27,8
160 LTEXT "The following domain will be added to your list of Bonjour browse domains.",
161 IDC_STATIC,7,15,216,16
162 END
163
164
165 /////////////////////////////////////////////////////////////////////////////
166 //
167 // DESIGNINFO
168 //
169
170 #ifdef APSTUDIO_INVOKED
171 GUIDELINES DESIGNINFO
172 BEGIN
173 IDR_APPLET_PAGE1, DIALOG
174 BEGIN
175 LEFTMARGIN, 7
176 RIGHTMARGIN, 255
177 TOPMARGIN, 7
178 BOTTOMMARGIN, 133
179 END
180
181 IDR_APPLET_PAGE2, DIALOG
182 BEGIN
183 LEFTMARGIN, 7
184 RIGHTMARGIN, 255
185 TOPMARGIN, 7
186 BOTTOMMARGIN, 133
187 END
188
189 IDR_SECRET, DIALOG
190 BEGIN
191 LEFTMARGIN, 7
192 RIGHTMARGIN, 244
193 TOPMARGIN, 7
194 BOTTOMMARGIN, 83
195 END
196
197 IDR_APPLET_PAGE3, DIALOG
198 BEGIN
199 LEFTMARGIN, 7
200 RIGHTMARGIN, 255
201 TOPMARGIN, 7
202 BOTTOMMARGIN, 133
203 END
204
205 IDR_ADD_BROWSE_DOMAIN, DIALOG
206 BEGIN
207 LEFTMARGIN, 7
208 RIGHTMARGIN, 223
209 TOPMARGIN, 7
210 BOTTOMMARGIN, 88
211 END
212 END
213 #endif // APSTUDIO_INVOKED
214
215
216 /////////////////////////////////////////////////////////////////////////////
217 //
218 // String Table
219 //
220
221 STRINGTABLE
222 BEGIN
223 IDR_APPLET "Bonjour"
224 IDS_APPLET_DESCRIPTION "Wide-Area Bonjour Control Panel"
225 END
226
227 #endif // English (U.S.) resources
228 /////////////////////////////////////////////////////////////////////////////
229
230
231
232 #ifndef APSTUDIO_INVOKED
233 /////////////////////////////////////////////////////////////////////////////
234 //
235 // Generated from the TEXTINCLUDE 3 resource.
236 //
237 #define _AFX_NO_SPLITTER_RESOURCES
238 #define _AFX_NO_OLE_RESOURCES
239 #define _AFX_NO_TRACKER_RESOURCES
240 #define _AFX_NO_PROPERTY_RESOURCES
241
242 #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
243 #ifdef _WIN32
244 LANGUAGE 9, 1
245 #pragma code_page(1252)
246 #endif
247 #include "res\ControlPanel.rc2" // non-Microsoft Visual C++ edited resources
248 #include "afxres.rc" // Standard components
249 #endif
250 /////////////////////////////////////////////////////////////////////////////
251 #endif // not APSTUDIO_INVOKED
252