home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / winnt / dlgedit / dialogs.h < prev    next >
Text File  |  1997-10-05  |  10KB  |  305 lines

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