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.

249 lines
8.8 KiB

  1. // WTL Version 3.1
  2. // Copyright (C) 1997-2000 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This file is a part of Windows Template Library.
  6. // The code and information is provided "as-is" without
  7. // warranty of any kind, either expressed or implied.
  8. #ifndef __ATLRES_H__
  9. #define __ATLRES_H__
  10. #pragma once
  11. #ifdef RC_INVOKED
  12. #ifndef _INC_WINDOWS
  13. #define _INC_WINDOWS
  14. #define VS_VERSION_INFO 1
  15. #ifdef APSTUDIO_INVOKED
  16. #define APSTUDIO_HIDDEN_SYMBOLS // Ignore following symbols
  17. #endif //APSTUDIO_INVOKED
  18. #ifndef WINVER
  19. #define WINVER 0x0400 // default to Windows Version 4.0
  20. #endif //!WINVER
  21. #include <winresrc.h>
  22. // operation messages sent to DLGINIT
  23. #define LB_ADDSTRING (WM_USER+1)
  24. #define CB_ADDSTRING (WM_USER+3)
  25. #ifdef APSTUDIO_INVOKED
  26. #undef APSTUDIO_HIDDEN_SYMBOLS
  27. #endif //APSTUDIO_INVOKED
  28. #ifdef IDC_STATIC
  29. #undef IDC_STATIC
  30. #endif //IDC_STATIC
  31. #define IDC_STATIC (-1)
  32. #endif //!_INC_WINDOWS
  33. #endif //RC_INVOKED
  34. #ifdef APSTUDIO_INVOKED
  35. #define APSTUDIO_HIDDEN_SYMBOLS
  36. #endif //APSTUDIO_INVOKED
  37. /////////////////////////////////////////////////////////////////////////////
  38. // ATL resource types
  39. #ifndef RC_INVOKED
  40. #define RT_DLGINIT MAKEINTRESOURCE(240)
  41. #define RT_TOOLBAR MAKEINTRESOURCE(241)
  42. #endif //RC_INVOKED
  43. /////////////////////////////////////////////////////////////////////////////
  44. #ifdef APSTUDIO_INVOKED
  45. #undef APSTUDIO_HIDDEN_SYMBOLS
  46. #endif //APSTUDIO_INVOKED
  47. /////////////////////////////////////////////////////////////////////////////
  48. // Standard window components
  49. #define ID_SEPARATOR 0 // special separator value
  50. #define ID_DEFAULT_PANE 0 // default status bar pane
  51. #ifndef RC_INVOKED // code only
  52. // standard control bars (IDW = window ID)
  53. #define ATL_IDW_TOOLBAR 0xE800 // main Toolbar for window
  54. #define ATL_IDW_STATUS_BAR 0xE801 // Status bar window
  55. #define ATL_IDW_COMMAND_BAR 0xE802 // Command bar window
  56. // parts of a frame window
  57. #define ATL_IDW_CLIENT 0xE900
  58. #define ATL_IDW_PANE_FIRST 0xE900 // first pane (256 max)
  59. #define ATL_IDW_PANE_LAST 0xE9FF
  60. #define ATL_IDW_HSCROLL_FIRST 0xEA00 // first Horz scrollbar (16 max)
  61. #define ATL_IDW_VSCROLL_FIRST 0xEA10 // first Vert scrollbar (16 max)
  62. #define ATL_IDW_SIZE_BOX 0xEA20 // size box for splitters
  63. #define ATL_IDW_PANE_SAVE 0xEA21 // to shift ATL_IDW_PANE_FIRST
  64. // bands for a rebar
  65. #define ATL_IDW_BAND_FIRST 0xEB00
  66. #define ATL_IDW_BAND_LAST 0xEBFF
  67. #endif //!RC_INVOKED
  68. /////////////////////////////////////////////////////////////////////////////
  69. // Standard Commands
  70. // File commands
  71. #define ID_FILE_NEW 0xE100
  72. #define ID_FILE_OPEN 0xE101
  73. #define ID_FILE_CLOSE 0xE102
  74. #define ID_FILE_SAVE 0xE103
  75. #define ID_FILE_SAVE_AS 0xE104
  76. #define ID_FILE_PAGE_SETUP 0xE105
  77. #define ID_FILE_PRINT_SETUP 0xE106
  78. #define ID_FILE_PRINT 0xE107
  79. #define ID_FILE_PRINT_DIRECT 0xE108
  80. #define ID_FILE_PRINT_PREVIEW 0xE109
  81. #define ID_FILE_UPDATE 0xE10A
  82. #define ID_FILE_SAVE_COPY_AS 0xE10B
  83. #define ID_FILE_SEND_MAIL 0xE10C
  84. #define ID_FILE_MRU_FIRST 0xE110
  85. #define ID_FILE_MRU_FILE1 0xE110 // range - 16 max
  86. #define ID_FILE_MRU_FILE2 0xE111
  87. #define ID_FILE_MRU_FILE3 0xE112
  88. #define ID_FILE_MRU_FILE4 0xE113
  89. #define ID_FILE_MRU_FILE5 0xE114
  90. #define ID_FILE_MRU_FILE6 0xE115
  91. #define ID_FILE_MRU_FILE7 0xE116
  92. #define ID_FILE_MRU_FILE8 0xE117
  93. #define ID_FILE_MRU_FILE9 0xE118
  94. #define ID_FILE_MRU_FILE10 0xE119
  95. #define ID_FILE_MRU_FILE11 0xE11A
  96. #define ID_FILE_MRU_FILE12 0xE11B
  97. #define ID_FILE_MRU_FILE13 0xE11C
  98. #define ID_FILE_MRU_FILE14 0xE11D
  99. #define ID_FILE_MRU_FILE15 0xE11E
  100. #define ID_FILE_MRU_FILE16 0xE11F
  101. #define ID_FILE_MRU_LAST 0xE11F
  102. // Edit commands
  103. #define ID_EDIT_CLEAR 0xE120
  104. #define ID_EDIT_CLEAR_ALL 0xE121
  105. #define ID_EDIT_COPY 0xE122
  106. #define ID_EDIT_CUT 0xE123
  107. #define ID_EDIT_FIND 0xE124
  108. #define ID_EDIT_PASTE 0xE125
  109. #define ID_EDIT_PASTE_LINK 0xE126
  110. #define ID_EDIT_PASTE_SPECIAL 0xE127
  111. #define ID_EDIT_REPEAT 0xE128
  112. #define ID_EDIT_REPLACE 0xE129
  113. #define ID_EDIT_SELECT_ALL 0xE12A
  114. #define ID_EDIT_UNDO 0xE12B
  115. #define ID_EDIT_REDO 0xE12C
  116. // Window commands
  117. #define ID_WINDOW_NEW 0xE130
  118. #define ID_WINDOW_ARRANGE 0xE131
  119. #define ID_WINDOW_CASCADE 0xE132
  120. #define ID_WINDOW_TILE_HORZ 0xE133
  121. #define ID_WINDOW_TILE_VERT 0xE134
  122. #define ID_WINDOW_SPLIT 0xE135
  123. #ifndef RC_INVOKED // code only
  124. #define ATL_IDM_WINDOW_FIRST 0xE130
  125. #define ATL_IDM_WINDOW_LAST 0xE13F
  126. #define ATL_IDM_FIRST_MDICHILD 0xFF00 // window list starts here
  127. #endif //!RC_INVOKED
  128. // Help and App commands
  129. #define ID_APP_ABOUT 0xE140
  130. #define ID_APP_EXIT 0xE141
  131. #define ID_HELP_INDEX 0xE142
  132. #define ID_HELP_FINDER 0xE143
  133. #define ID_HELP_USING 0xE144
  134. #define ID_CONTEXT_HELP 0xE145 // shift-F1
  135. // special commands for processing help
  136. #define ID_HELP 0xE146 // first attempt for F1
  137. #define ID_DEFAULT_HELP 0xE147 // last attempt
  138. // Misc
  139. #define ID_NEXT_PANE 0xE150
  140. #define ID_PREV_PANE 0xE151
  141. #define ID_PANE_CLOSE 0xE152
  142. // Format
  143. #define ID_FORMAT_FONT 0xE160
  144. // Scroll
  145. #define ID_SCROLL_UP 0xE170
  146. #define ID_SCROLL_DOWN 0xE171
  147. #define ID_SCROLL_PAGE_UP 0xE172
  148. #define ID_SCROLL_PAGE_DOWN 0xE173
  149. #define ID_SCROLL_TOP 0xE174
  150. #define ID_SCROLL_BOTTOM 0xE175
  151. #define ID_SCROLL_LEFT 0xE176
  152. #define ID_SCROLL_RIGHT 0xE177
  153. #define ID_SCROLL_PAGE_LEFT 0xE178
  154. #define ID_SCROLL_PAGE_RIGHT 0xE179
  155. #define ID_SCROLL_ALL_LEFT 0xE17A
  156. #define ID_SCROLL_ALL_RIGHT 0xE17B
  157. // OLE commands
  158. #define ID_OLE_INSERT_NEW 0xE200
  159. #define ID_OLE_EDIT_LINKS 0xE201
  160. #define ID_OLE_EDIT_CONVERT 0xE202
  161. #define ID_OLE_EDIT_CHANGE_ICON 0xE203
  162. #define ID_OLE_EDIT_PROPERTIES 0xE204
  163. #define ID_OLE_VERB_FIRST 0xE210 // range - 16 max
  164. #ifndef RC_INVOKED // code only
  165. #define ID_OLE_VERB_LAST 0xE21F
  166. #endif //!RC_INVOKED
  167. // View commands (same number used as IDW used for toolbar and status bar)
  168. #define ID_VIEW_TOOLBAR 0xE800
  169. #define ID_VIEW_STATUS_BAR 0xE801
  170. #define ID_VIEW_REFRESH 0xE803
  171. /////////////////////////////////////////////////////////////////////////////
  172. // Standard control IDs
  173. #ifdef IDC_STATIC
  174. #undef IDC_STATIC
  175. #endif //IDC_STATIC
  176. #define IDC_STATIC (-1) // all static controls
  177. /////////////////////////////////////////////////////////////////////////////
  178. // Standard string error/warnings
  179. // idle status bar message
  180. #define ATL_IDS_IDLEMESSAGE 0xE001
  181. #ifndef RC_INVOKED // code only
  182. #define ATL_IDS_SCFIRST 0xEF00
  183. #endif //!RC_INVOKED
  184. #define ATL_IDS_SCSIZE 0xEF00
  185. #define ATL_IDS_SCMOVE 0xEF01
  186. #define ATL_IDS_SCMINIMIZE 0xEF02
  187. #define ATL_IDS_SCMAXIMIZE 0xEF03
  188. #define ATL_IDS_SCNEXTWINDOW 0xEF04
  189. #define ATL_IDS_SCPREVWINDOW 0xEF05
  190. #define ATL_IDS_SCCLOSE 0xEF06
  191. #define ATL_IDS_SCRESTORE 0xEF12
  192. #define ATL_IDS_SCTASKLIST 0xEF13
  193. #define ATL_IDS_MDICHILD 0xEF1F
  194. #define ATL_IDS_MRU_FILE 0xEFDA
  195. /////////////////////////////////////////////////////////////////////////////
  196. // Misc. control IDs
  197. // Property Sheet control id's (determined with Spy++)
  198. #define ID_APPLY_NOW 0x3021
  199. #define ID_WIZBACK 0x3023
  200. #define ID_WIZNEXT 0x3024
  201. #define ID_WIZFINISH 0x3025
  202. #define ATL_IDC_TAB_CONTROL 0x3020
  203. #endif //__ATLRES_H__
  204. /////////////////////////////////////////////////////////////////////////////