PageRenderTime 49ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/wtl/atlres.h

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