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

Windows编程

开发平台:

Visual C++

  1. //Microsoft App Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. #ifdef APSTUDIO_INVOKED
  13. //////////////////////////////////////////////////////////////////////////////
  14. //
  15. // TEXTINCLUDE
  16. //
  17. 1 TEXTINCLUDE DISCARDABLE
  18. BEGIN
  19. "resource.h"
  20. END
  21. 2 TEXTINCLUDE DISCARDABLE
  22. BEGIN
  23. "#include ""afxres.h""rn"
  24. ""
  25. END
  26. 3 TEXTINCLUDE DISCARDABLE
  27. BEGIN
  28. "#include ""afxres.rc""           // Standard componentsrn"
  29. ""
  30. END
  31. /////////////////////////////////////////////////////////////////////////////////////
  32. #endif    // APSTUDIO_INVOKED
  33. //////////////////////////////////////////////////////////////////////////////
  34. //
  35. // Icon
  36. //
  37. AFX_IDI_STD_MDIFRAME    ICON    DISCARDABLE     "MDI.ICO"
  38. IDI_HELLO               ICON    DISCARDABLE     "HELLO.ICO"
  39. //////////////////////////////////////////////////////////////////////////////
  40. //
  41. // Accelerator
  42. //
  43. IDR_MAINFRAME ACCELERATORS MOVEABLE PURE
  44. BEGIN
  45. VK_F1,          ID_APP_ABOUT,           VIRTKEY,NOINVERT
  46. END
  47. //////////////////////////////////////////////////////////////////////////////
  48. //
  49. // Dialog
  50. //
  51. IDD_ABOUTBOX DIALOG DISCARDABLE  22, 17, 144, 78
  52. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  53. CAPTION "About MDI"
  54. FONT 8, "MS Sans Serif"
  55. BEGIN
  56. CTEXT           "Microsoft Windows",IDC_STATIC,24,5,112,8
  57. CTEXT           "Microsoft Foundation Classes",IDC_STATIC,31,14,105,8
  58. CTEXT           "MDI Sample",IDC_STATIC,24,23,112,8
  59. CTEXT           "Version 2.0",IDC_STATIC,24,36,112,8
  60. ICON            AFX_IDI_STD_MDIFRAME,IDC_STATIC,8,10,18,20
  61. DEFPUSHBUTTON   "OK",IDOK,56,56,32,14,WS_GROUP
  62. END
  63. //////////////////////////////////////////////////////////////////////////////
  64. //
  65. // Menu
  66. //
  67. IDR_BOUNCE MENU DISCARDABLE
  68. BEGIN
  69. POPUP "&File"
  70. BEGIN
  71. MENUITEM "New &Bounce",                 IDM_BOUNCE
  72. MENUITEM "New &Hello",                  IDM_HELLO
  73. MENUITEM SEPARATOR
  74. MENUITEM "E&xit",                       ID_APP_EXIT
  75. END
  76. POPUP "&Color"
  77. BEGIN
  78. MENUITEM "&Black",                      IDM_BLACK
  79. MENUITEM "&Red",                        IDM_RED
  80. MENUITEM "&Green",                      IDM_GREEN
  81. MENUITEM "B&lue",                       IDM_BLUE
  82. MENUITEM "&White",                      IDM_WHITE
  83. MENUITEM "&Custom...",                  IDM_CUSTOM
  84. END
  85. POPUP "&Speed"
  86. BEGIN
  87. MENUITEM "&Slow",                       IDM_SLOW
  88. MENUITEM "&Fast",                       IDM_FAST
  89. END
  90. POPUP "&Window"
  91. BEGIN
  92. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  93. MENUITEM "&Tile",                       ID_WINDOW_TILE_VERT
  94. MENUITEM "&Arrange &Icons",             ID_WINDOW_ARRANGE
  95. END
  96. POPUP "&Help"
  97. BEGIN
  98. MENUITEM "&About MDI...",               ID_APP_ABOUT
  99. END
  100. END
  101. IDR_HELLO MENU DISCARDABLE
  102. BEGIN
  103. POPUP "&File"
  104. BEGIN
  105. MENUITEM "New &Bounce",                 IDM_BOUNCE
  106. MENUITEM "New &Hello",                  IDM_HELLO
  107. MENUITEM SEPARATOR
  108. MENUITEM "E&xit",                       ID_APP_EXIT
  109. END
  110. POPUP "&Color"
  111. BEGIN
  112. MENUITEM "&Black",                      IDM_BLACK
  113. MENUITEM "&Red",                        IDM_RED
  114. MENUITEM "&Green",                      IDM_GREEN
  115. MENUITEM "B&lue",                       IDM_BLUE
  116. MENUITEM "&White",                      IDM_WHITE
  117. MENUITEM "&Custom...",                  IDM_CUSTOM
  118. END
  119. POPUP "&Window"
  120. BEGIN
  121. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  122. MENUITEM "&Tile",                       ID_WINDOW_TILE_VERT
  123. MENUITEM "&Arrange &Icons",             ID_WINDOW_ARRANGE
  124. END
  125. POPUP "&Help"
  126. BEGIN
  127. MENUITEM "&About MDI...",               ID_APP_ABOUT
  128. END
  129. END
  130. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  131. BEGIN
  132. POPUP "&File"
  133. BEGIN
  134. MENUITEM "New &Bounce",                 IDM_BOUNCE
  135. MENUITEM "New &Hello",                  IDM_HELLO
  136. MENUITEM SEPARATOR
  137. MENUITEM "E&xit",                       ID_APP_EXIT
  138. END
  139. POPUP "&Help"
  140. BEGIN
  141. MENUITEM "&About MDI...",               ID_APP_ABOUT
  142. END
  143. END
  144. //////////////////////////////////////////////////////////////////////////////
  145. //
  146. // String Table
  147. //
  148. STRINGTABLE PRELOAD DISCARDABLE
  149. BEGIN
  150. IDR_MAINFRAME           "MDI Windows Application"
  151. END
  152. STRINGTABLE PRELOAD DISCARDABLE
  153. BEGIN
  154. AFX_IDS_APP_TITLE       "MDI Windows Application"
  155. AFX_IDS_IDLEMESSAGE     "Ready"
  156. END
  157. #ifndef APSTUDIO_INVOKED
  158. ////////////////////////////////////////////////////////////////////////////////
  159. //
  160. // Generated from the TEXTINCLUDE 3 resource.
  161. //
  162. #include "afxres.rc"           // Standard components
  163. /////////////////////////////////////////////////////////////////////////////////////
  164. #endif    // not APSTUDIO_INVOKED