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.

233 lines
8.2 KiB

  1. // This is a part of the Active Template Library.
  2. // Copyright (C) 1996-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Active Template Library Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Active Template Library product.
  10. #ifndef __ATLRES_H__
  11. #define __ATLRES_H__
  12. #ifdef RC_INVOKED
  13. #ifndef _INC_WINDOWS
  14. #define _INC_WINDOWS
  15. #define VS_VERSION_INFO 1
  16. #ifdef APSTUDIO_INVOKED
  17. #define APSTUDIO_HIDDEN_SYMBOLS // Ignore following symbols
  18. #endif //APSTUDIO_INVOKED
  19. #ifndef WINVER
  20. #define WINVER 0x0400 // default to Windows Version 4.0
  21. #endif //!WINVER
  22. #ifndef UNDER_CE
  23. #include <winresrc.h>
  24. // operation messages sent to DLGINIT
  25. #define LB_ADDSTRING (WM_USER+1)
  26. #define CB_ADDSTRING (WM_USER+3)
  27. #else // CE specific
  28. #include <windows.h>
  29. #endif //!UNDER_CE
  30. #ifdef APSTUDIO_INVOKED
  31. #undef APSTUDIO_HIDDEN_SYMBOLS
  32. #endif //APSTUDIO_INVOKED
  33. #ifdef IDC_STATIC
  34. #undef IDC_STATIC
  35. #endif //IDC_STATIC
  36. #define IDC_STATIC (-1)
  37. #endif //!_INC_WINDOWS
  38. #endif //RC_INVOKED
  39. #ifdef APSTUDIO_INVOKED
  40. #define APSTUDIO_HIDDEN_SYMBOLS
  41. #endif //APSTUDIO_INVOKED
  42. /////////////////////////////////////////////////////////////////////////////
  43. // ATL resource types
  44. #ifndef RC_INVOKED
  45. #define RT_DLGINIT MAKEINTRESOURCE(240)
  46. #define RT_TOOLBAR MAKEINTRESOURCE(241)
  47. #endif //RC_INVOKED
  48. /////////////////////////////////////////////////////////////////////////////
  49. #ifdef APSTUDIO_INVOKED
  50. #undef APSTUDIO_HIDDEN_SYMBOLS
  51. #endif //APSTUDIO_INVOKED
  52. /////////////////////////////////////////////////////////////////////////////
  53. // Standard window components
  54. #define ID_SEPARATOR 0 // special separator value
  55. #ifndef RC_INVOKED // code only
  56. // standard control bars (IDW = window ID)
  57. #define ATL_IDW_TOOLBAR 0xE800 // main Toolbar for window
  58. #define ATL_IDW_STATUS_BAR 0xE801 // Status bar window
  59. // parts of a frame window
  60. #define ATL_IDW_CLIENT 0xE900
  61. #define ATL_IDW_PANE_FIRST 0xE900 // first pane (256 max)
  62. #define ATL_IDW_PANE_LAST 0xE9ff
  63. #define ATL_IDW_HSCROLL_FIRST 0xEA00 // first Horz scrollbar (16 max)
  64. #define ATL_IDW_VSCROLL_FIRST 0xEA10 // first Vert scrollbar (16 max)
  65. #define ATL_IDW_SIZE_BOX 0xEA20 // size box for splitters
  66. #define ATL_IDW_PANE_SAVE 0xEA21 // to shift ATL_IDW_PANE_FIRST
  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. // Format
  142. #define ID_FORMAT_FONT 0xE160
  143. // OLE commands
  144. #define ID_OLE_INSERT_NEW 0xE200
  145. #define ID_OLE_EDIT_LINKS 0xE201
  146. #define ID_OLE_EDIT_CONVERT 0xE202
  147. #define ID_OLE_EDIT_CHANGE_ICON 0xE203
  148. #define ID_OLE_EDIT_PROPERTIES 0xE204
  149. #define ID_OLE_VERB_FIRST 0xE210 // range - 16 max
  150. #ifndef RC_INVOKED // code only
  151. #define ID_OLE_VERB_LAST 0xE21F
  152. #endif //!RC_INVOKED
  153. // View commands (same number used as IDW used for control bar)
  154. #define ID_VIEW_TOOLBAR 0xE800
  155. #define ID_VIEW_STATUS_BAR 0xE801
  156. // -> E8FF reserved for other control bar commands
  157. /////////////////////////////////////////////////////////////////////////////
  158. // Standard control IDs
  159. #ifdef IDC_STATIC
  160. #undef IDC_STATIC
  161. #endif //IDC_STATIC
  162. #define IDC_STATIC (-1) // all static controls
  163. /////////////////////////////////////////////////////////////////////////////
  164. // Standard string error/warnings
  165. // idle status bar message
  166. #define ATL_IDS_IDLEMESSAGE 0xE001
  167. #ifndef RC_INVOKED // code only
  168. #define ATL_IDS_SCFIRST 0xEF00
  169. #endif //!RC_INVOKED
  170. #define ATL_IDS_SCSIZE 0xEF00
  171. #define ATL_IDS_SCMOVE 0xEF01
  172. #define ATL_IDS_SCMINIMIZE 0xEF02
  173. #define ATL_IDS_SCMAXIMIZE 0xEF03
  174. #define ATL_IDS_SCNEXTWINDOW 0xEF04
  175. #define ATL_IDS_SCPREVWINDOW 0xEF05
  176. #define ATL_IDS_SCCLOSE 0xEF06
  177. #define ATL_IDS_SCRESTORE 0xEF12
  178. #define ATL_IDS_SCTASKLIST 0xEF13
  179. #define ATL_IDS_MDICHILD 0xEF1F
  180. #define ATL_IDS_MRU_FILE 0xEFDA
  181. /////////////////////////////////////////////////////////////////////////////
  182. // Misc. control IDs
  183. // Property Sheet control id's (determined with Spy++)
  184. #define ID_APPLY_NOW 0x3021
  185. #define ID_WIZBACK 0x3023
  186. #define ID_WIZNEXT 0x3024
  187. #define ID_WIZFINISH 0x3025
  188. #define ATL_IDC_TAB_CONTROL 0x3020
  189. #endif //__ATLRES_H__
  190. /////////////////////////////////////////////////////////////////////////////