home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / inc / classres.h < prev    next >
C/C++ Source or Header  |  1995-05-03  |  6KB  |  170 lines

  1. /*
  2.  * CLASSRES.H
  3.  * Sample Code Class Libraries
  4.  *
  5.  * Definitions specifically pertaining to resources for the default
  6.  * class libraries.
  7.  *
  8.  * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
  9.  *
  10.  * Kraig Brockschmidt, Microsoft
  11.  * Internet  :  kraigb@microsoft.com
  12.  * Compuserve:  >INTERNET:kraigb@microsoft.com
  13.  */
  14.  
  15.  
  16. #ifndef _CLASSRES_H_
  17. #define _CLASSRES_H_
  18.  
  19. #include <bttncur.h>
  20.  
  21. //Position of Window menu and number of menus.
  22. #define WINDOW_MENU                         2
  23. #define CMENUS                              3
  24.  
  25.  
  26.  
  27. //Resource identifiers.
  28. #define IDR_MENU                            1
  29. #define IDR_ACCELERATORS                    1
  30. #define IDR_DOCUMENTICON                    1
  31. #define IDD_ABOUT                           1
  32.  
  33. #define IDR_STATMESSAGEMAP                  1
  34.  
  35. //Dialog control identifiers
  36. #define ID_NULL                             99
  37.  
  38. //Image identifiers in the standard bmp file.
  39. #define ID_STDGIZMOFILECLOSE                0
  40. #define ID_STDGIZMOEDITUNDO                 1
  41.  
  42.  
  43.  
  44. //Menu command identifiers.
  45. #define IDM_FILENEW                         100
  46. #define IDM_FILEOPEN                        101
  47. #define IDM_FILECLOSE                       102
  48. #define IDM_FILESAVE                        103
  49. #define IDM_FILESAVEAS                      104
  50. #define IDM_FILEEXIT                        105
  51. #define IDM_CUSTOMFILEMIN                   106
  52.  
  53. #define IDM_EDITUNDO                        200
  54. #define IDM_EDITCUT                         201
  55. #define IDM_EDITCOPY                        202
  56. #define IDM_EDITPASTE                       203
  57. #define IDM_CUSTOMEDITMIN                   204
  58.  
  59. #define IDM_WINDOWCASCADE                   300
  60. #define IDM_WINDOWTILEHORZ                  301
  61. #define IDM_WINDOWTILEVERT                  302
  62. #define IDM_WINDOWICONS                     303
  63. #define IDM_CUSTOMWINDOWMIN                 304
  64.  
  65. #define IDM_HELPABOUT                       400
  66. #define IDM_CUSTOMHELPMIN                   401
  67.  
  68. //Where derivations can start using IDs.
  69. #define IDM_CUSTOMMIN                       500
  70.  
  71.  
  72. //IDs for StatStrip handling of popup menus:  must be in order of menu
  73. #define ID_MENUSYS                          1000
  74. #define ID_MESSAGEEMPTY                     1001
  75. #define ID_MESSAGEREADY                     1002
  76. #define ID_STANDARDMAX                      1002
  77.  
  78.  
  79. #define ID_MENUFILE                         (ID_STANDARDMAX+1)
  80. #define ID_MENUEDIT                         (ID_STANDARDMAX+2)
  81. #define ID_MENUWINDOW                       (ID_STANDARDMAX+3)
  82. #define ID_MENUHELP                         (ID_STANDARDMAX+4)
  83. #define ID_MENUCUSTOMMIN                    (ID_STANDARDMAX+5)
  84.  
  85.  
  86. /*
  87.  * Stringtable IDs.  Keep sequential for each group.  Strings
  88.  * are limited by CCHSTRINGMAX (see classlib.h).
  89.  */
  90.  
  91. //Frame window junk
  92. #define IDS_STANDARDFRAMEMIN                0
  93. #define IDS_CAPTION                         0
  94. #define IDS_UNTITLED                        1
  95. #define IDS_FILEDIRTY                       2
  96. #define IDS_DEFEXT                          3
  97. #define IDS_DOTEXT                          4
  98. #define IDS_FILEOPENFILTER                  5
  99. #define IDS_FILESAVEFILTER                  6
  100. #define IDS_FILEOPEN                        7
  101. #define IDS_FILESAVEAS                      8
  102. #define IDS_STANDARDFRAMEMAX                8
  103. #define IDS_CUSTOMFRAMEMIN                  9
  104.  
  105.  
  106. //Document window junk
  107. #define IDS_STANDARDDOCMIN                  128
  108. #define IDS_CLIPBOARDFORMAT                 128
  109. #define IDS_DOCUMENTCAPTION                 129
  110. #define IDS_VERSIONMISMATCH                 130
  111. #define IDS_FILELOADERROR                   131
  112. #define IDS_FILESAVEERROR                   132
  113. #define IDS_FILEDOESNOTEXIST                133
  114. #define IDS_FILEOPENERROR                   134
  115. #define IDS_UNKNOWNERROR                    135
  116. #define IDS_STANDARDDOCMAX                  135
  117. #define IDS_CUSTOMDOCMIN                    136
  118.  
  119.  
  120.  
  121.  
  122. //These are specifically for the StatStrip
  123. #define IDS_STANDARDSTATMESSAGEMIN          1024
  124.  
  125. #define IDS_EMPTYMESSAGE                    1024
  126. #define IDS_READYMESSAGE                    1025
  127.  
  128. #define IDS_MENUMESSAGESYSTEM               1026
  129. #define IDS_SYSMESSAGESIZE                  1027
  130. #define IDS_SYSMESSAGEMOVE                  1028
  131. #define IDS_SYSMESSAGEMINIMIZE              1029
  132. #define IDS_SYSMESSAGEMAXIMIZE              1030
  133. #define IDS_SYSMESSAGENEXTWINDOW            1031
  134. #define IDS_SYSMESSAGEPREVWINDOW            1032
  135. #define IDS_SYSMESSAGECLOSE                 1033
  136. #define IDS_SYSMESSAGERESTORE               1034
  137. #define IDS_SYSMESSAGETASKLIST              1035
  138.  
  139. #define IDS_MENUMESSAGEFILE                 1036
  140. #define IDS_ITEMMESSAGEFILENEW              1037
  141. #define IDS_ITEMMESSAGEFILEOPEN             1038
  142. #define IDS_ITEMMESSAGEFILECLOSE            1039
  143. #define IDS_ITEMMESSAGEFILESAVE             1040
  144. #define IDS_ITEMMESSAGEFILESAVEAS           1041
  145. #define IDS_ITEMMESSAGEFILEEXIT             1042
  146.  
  147. #define IDS_MENUMESSAGEEDIT                 1043
  148. #define IDS_ITEMMESSAGEEDITUNDO             1044
  149. #define IDS_ITEMMESSAGEEDITCUT              1045
  150. #define IDS_ITEMMESSAGEEDITCOPY             1046
  151. #define IDS_ITEMMESSAGEEDITPASTE            1047
  152.  
  153. #define IDS_MENUMESSAGEWINDOW               1048
  154. #define IDS_ITEMMESSAGEWINDOWCASCADE        1049
  155. #define IDS_ITEMMESSAGEWINDOWTILEHORZ       1050
  156. #define IDS_ITEMMESSAGEWINDOWTILEVERT       1051
  157. #define IDS_ITEMMESSAGEWINDOWICONS          1052
  158.  
  159. #define IDS_MENUMESSAGEHELP                 1053
  160. #define IDS_ITEMMESSAGEHELPABOUT            1054
  161.  
  162. #define IDS_STANDARDSTATMESSAGEMAX          1054
  163. #define IDS_CUSTOMSTATMESSAGEMIN            1055
  164.  
  165.  
  166. #define CCHMESSAGEMAX                       128
  167.  
  168.  
  169. #endif //_CLASSRES_H_
  170.