CLASSRES.H
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:6k
源码类别:

Windows编程

开发平台:

Visual C++

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