|
|
1.1 root 1:
2: /******************************************************************************\
3: * This is a part of the Microsoft Source Code Samples.
4: * Copyright (C) 1993 Microsoft Corporation.
5: * All rights reserved.
6: * This source code is only intended as a supplement to
7: * Microsoft Development Tools and/or WinHelp documentation.
8: * See these sources for detailed information regarding the
9: * Microsoft samples programs.
10: \******************************************************************************/
11:
12: /****************************** Module Header *******************************
13: * Module Name: dialogs.h
14: ****************************************************************************/
15:
16:
17: #define IDHELP 8
18:
19: /*
20: * Defines for the "Styles" dialogs. ---------------------------------------
21: */
22:
23: /*
24: * These controls are common to several of the dialogs.
25: */
26: #define DID_WS_POPUP 100
27: #define DID_WS_CHILD 101
28: #define DID_WS_MINIMIZE 102
29: #define DID_WS_VISIBLE 103
30: #define DID_WS_DISABLED 104
31: #define DID_WS_CLIPSIBLINGS 105
32: #define DID_WS_CLIPCHILDREN 106
33: #define DID_WS_MAXIMIZE 107
34: #define DID_WS_CAPTION 108
35: #define DID_WS_BORDER 109
36: #define DID_WS_DLGFRAME 110
37: #define DID_WS_VSCROLL 111
38: #define DID_WS_HSCROLL 112
39: #define DID_WS_SYSMENU 113
40: #define DID_WS_THICKFRAME 114
41: #define DID_WS_GROUP 115
42: #define DID_WS_TABSTOP 116
43:
44: /*
45: * These controls are found in several of the button styles dialogs.
46: */
47: #define DID_BS_AUTOXXX 130
48: #define DID_BS_LEFTTEXT 131
49:
50: /*
51: * Check Box Styles dialog.
52: */
53: #define DID_CHECKBOXSTYLES 200
54: #define DID_BS_3STATE 201
55:
56: /*
57: * Combo Box Styles dialog.
58: */
59: #define DID_COMBOBOXSTYLES 300
60: #define DID_CBS_SIMPLE 301
61: #define DID_CBS_DROPDOWN 302
62: #define DID_CBS_DROPDOWNLIST 303
63: #define DID_CBS_OWNERDRAWFIXED 304
64: #define DID_CBS_OWNERDRAWVARIABLE 305
65: #define DID_CBS_AUTOHSCROLL 306
66: #define DID_CBS_OEMCONVERT 307
67: #define DID_CBS_SORT 308
68: #define DID_CBS_HASSTRINGS 309
69: #define DID_CBS_NOINTEGRALHEIGHT 310
70: #define DID_CBS_DISABLENOSCROLL 311
71:
72: /*
73: * Dialog Styles dialog.
74: */
75: #define DID_DIALOGSTYLES 400
76: #define DID_MMF_PRELOAD 401
77: #define DID_MMF_MOVEABLE 402
78: #define DID_MMF_DISCARDABLE 403
79: #define DID_MMF_PURE 404
80: #define DID_DS_ABSALIGN 405
81: #define DID_DS_SYSMODAL 406
82: #define DID_DS_LOCALEDIT 407
83: #define DID_DS_MODALFRAME 408
84: #define DID_DS_NOIDLEMSG 409
85: #define DID_WS_MINIMIZEBOX 410
86: #define DID_WS_MAXIMIZEBOX 411
87: #define DID_DLGSTYLEFONTNAME 412
88: #define DID_DLGSTYLEPOINTSIZE 413
89: #define DID_DLGSTYLECLASS 414
90: #define DID_DLGSTYLEMENU 415
91: #define DID_DLGSTYLELANG 416
92: #define DID_DLGSTYLESUBLANG 417
93:
94: /*
95: * Edit Field Styles dialog.
96: */
97: #define DID_EDITSTYLES 500
98: #define DID_ES_LEFT 501
99: #define DID_ES_CENTER 502
100: #define DID_ES_RIGHT 503
101: #define DID_ES_MULTILINE 504
102: #define DID_ES_UPPERCASE 505
103: #define DID_ES_LOWERCASE 506
104: #define DID_ES_PASSWORD 507
105: #define DID_ES_AUTOVSCROLL 508
106: #define DID_ES_AUTOHSCROLL 509
107: #define DID_ES_NOHIDESEL 510
108: #define DID_ES_OEMCONVERT 511
109: #define DID_ES_READONLY 512
110:
111: /*
112: * Frame Styles dialog.
113: */
114: #define DID_FRAMESTYLES 600
115: #define DID_SS_BLACKFRAME 601
116: #define DID_SS_GRAYFRAME 602
117: #define DID_SS_WHITEFRAME 603
118:
119: /*
120: * Group Box Styles dialog.
121: */
122: #define DID_GROUPBOXSTYLES 700
123:
124: /*
125: * Horizontal Scroll Bar Styles dialog.
126: */
127: #define DID_HORZSCROLLSTYLES 800
128:
129: /*
130: * Icon Styles dialog.
131: */
132: #define DID_ICONSTYLES 900
133:
134: /*
135: * List Box Styles dialog.
136: */
137: #define DID_LISTBOXSTYLES 1000
138: #define DID_LBS_STANDARD 1001
139: #define DID_LBS_NOTIFY 1002
140: #define DID_LBS_SORT 1003
141: #define DID_LBS_NOREDRAW 1004
142: #define DID_LBS_MULTIPLESEL 1005
143: #define DID_LBS_OWNERDRAWFIXED 1006
144: #define DID_LBS_OWNERDRAWVARIABLE 1007
145: #define DID_LBS_HASSTRINGS 1008
146: #define DID_LBS_USETABSTOPS 1009
147: #define DID_LBS_NOINTEGRALHEIGHT 1010
148: #define DID_LBS_MULTICOLUMN 1011
149: #define DID_LBS_WANTKEYBOARDINPUT 1012
150: #define DID_LBS_EXTENDEDSEL 1013
151: #define DID_LBS_DISABLENOSCROLL 1014
152: #define DID_LBS_NODATA 1015
153:
154: /*
155: * Push Button Styles dialog.
156: */
157: #define DID_PUSHBUTTONSTYLES 1100
158: #define DID_BS_PUSHBUTTON 1101
159: #define DID_BS_DEFPUSHBUTTON 1102
160: #define DID_BS_OWNERDRAW 1103
161:
162: /*
163: * Frame Styles dialog.
164: */
165: #define DID_RADIOBUTTONSTYLES 1200
166:
167: /*
168: * Rectangle Styles dialog.
169: */
170: #define DID_RECTSTYLES 1300
171: #define DID_SS_BLACKRECT 1301
172: #define DID_SS_GRAYRECT 1302
173: #define DID_SS_WHITERECT 1303
174:
175: /*
176: * Text Styles dialog.
177: */
178: #define DID_TEXTSTYLES 1400
179: #define DID_SS_LEFT 1401
180: #define DID_SS_CENTER 1402
181: #define DID_SS_RIGHT 1403
182: #define DID_SS_NOPREFIX 1404
183: #define DID_SS_SIMPLE 1405
184: #define DID_SS_LEFTNOWORDWRAP 1406
185: #define DID_SS_USERITEM 1407
186:
187: /*
188: * Vertical Scroll Bar Styles dialog.
189: */
190: #define DID_VERTSCROLLSTYLES 1500
191:
192: /*
193: * Custom Styles dialog.
194: */
195: #define DID_CUSTOMSTYLES 1600
196: #define DID_CUSTOMSTYLESCLASS 1601
197: #define DID_CUSTOMSTYLESSTYLES 1602
198:
199:
200: /*
201: * Defines for other dialogs. ----------------------------------------------
202: */
203:
204: /*
205: * About dialog.
206: */
207: #define DID_ABOUT 2000
208: #define DID_ABOUTVERSION 2001
209:
210: /*
211: * Arrange Settings dialog.
212: */
213: #define DID_ARRSETTINGS 2100
214: #define DID_ARRSETDEFAULTS 2101
215: #define DID_ARRSETCXGRID 2102
216: #define DID_ARRSETCYGRID 2103
217: #define DID_ARRSETXMARGIN 2104
218: #define DID_ARRSETYMARGIN 2105
219: #define DID_ARRSETXSPACE 2106
220: #define DID_ARRSETYSPACE 2107
221: #define DID_ARRSETXMINPUSHSPACE 2108
222: #define DID_ARRSETXMAXPUSHSPACE 2109
223: #define DID_ARRSETYPUSHSPACE 2110
224:
225: /*
226: * Order/Group dialog.
227: */
228: #define DID_ORDERGROUP 2200
229: #define DID_ORDERLIST 2201
230: #define DID_ORDERMAKEGROUP 2202
231: #define DID_ORDERSETTAB 2203
232: #define DID_ORDERCLEARTAB 2204
233:
234: /*
235: * Select Dialog dialog.
236: */
237: #define DID_SELECTDIALOG 2300
238: #define DID_SELECTDIALOGNAMELIST 2301
239: #define DID_SELECTDIALOGLANGLIST 2302
240:
241: /*
242: * Status Ribbon dialog.
243: */
244: #define DID_STATUS 2401
245: #define DID_STATUSXY 2402
246: #define DID_STATUSX2Y2 2403
247: #define DID_STATUSCX 2404
248: #define DID_STATUSCY 2405
249: #define DID_STATUSLABEL1 2406
250: #define DID_STATUSSYM 2407
251: #define DID_STATUSSYMID 2408
252: #define DID_STATUSLABEL2 2409
253: #define DID_STATUSNAME 2410
254: #define DID_STATUSNAMEID 2411
255: #define DID_STATUSTEXT 2412
256:
257: /*
258: * Symbols dialog.
259: */
260: #define DID_SYMBOLS 2500
261: #define DID_SYMBOLSADD 2501
262: #define DID_SYMBOLSDELETE 2502
263: #define DID_SYMBOLSCHANGE 2503
264: #define DID_SYMBOLSEDITID 2504
265: #define DID_SYMBOLSEDITSYM 2505
266: #define DID_SYMBOLSLIST 2506
267: #define DID_SYMBOLSUNUSED 2507
268:
269: /*
270: * Create New Custom Control dialog.
271: */
272: #define DID_NEWCUST 2600
273: #define DID_NEWCUSTCLASS 2601
274: #define DID_NEWCUSTSTYLES 2602
275: #define DID_NEWCUSTCX 2603
276: #define DID_NEWCUSTCY 2604
277: #define DID_NEWCUSTTEXT 2605
278:
279: /*
280: * Select Custom Control dialog.
281: */
282: #define DID_SELCUST 2700
283: #define DID_SELCUSTLIST 2701
284: #define DID_SELCUSTSAMPLE 2702
285:
286: /*
287: * Remove Custom Control dialog.
288: */
289: #define DID_REMCUST 2800
290: #define DID_REMCUSTLIST 2801
291:
292:
293: /*
294: * These dialog ids are dummy ones that are only used so that there
295: * can be an entry in the dialog help table. They are for the CommDlg
296: * dialogs and the palettes that are not dialogs.
297: */
298:
299: #define DID_COMMONFILEOPENINCLUDE 3000
300: #define DID_COMMONFILEOPENRES 3100
301: #define DID_COMMONFILESAVEINCLUDE 3200
302: #define DID_COMMONFILESAVERES 3300
303: #define DID_COMMONFILEOPENDLL 3400
304:
305: #define DID_TOOLBOX 3500
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.