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

Windows编程

开发平台:

Visual C++

  1. //Microsoft Developer 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. /////////////////////////////////////////////////////////////////////////////
  13. // English (U.S.) resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. #ifdef APSTUDIO_INVOKED
  20. /////////////////////////////////////////////////////////////////////////////
  21. //
  22. // TEXTINCLUDE
  23. //
  24. 1 TEXTINCLUDE DISCARDABLE
  25. BEGIN
  26. "resource.h"
  27. END
  28. 2 TEXTINCLUDE DISCARDABLE
  29. BEGIN
  30. "#include ""afxres.h""rn"
  31. ""
  32. END
  33. 3 TEXTINCLUDE DISCARDABLE
  34. BEGIN
  35. "#include ""afxres.rc""rn"
  36. "#include ""afxprint.rc""rn"
  37. ""
  38. END
  39. #endif    // APSTUDIO_INVOKED
  40. /////////////////////////////////////////////////////////////////////////////
  41. //
  42. // Icon
  43. //
  44. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\DIBLOOK.ICO"
  45. IDR_DIBTYPE             ICON    DISCARDABLE     "RES\DIBDOC.ICO"
  46. /////////////////////////////////////////////////////////////////////////////
  47. //
  48. // Bitmap
  49. //
  50. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\TOOLBAR.BMP"
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Menu
  54. //
  55. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  56. BEGIN
  57. POPUP "&File"
  58. BEGIN
  59. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  60. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  61. MENUITEM SEPARATOR
  62. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  63. MENUITEM SEPARATOR
  64. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  65. MENUITEM SEPARATOR
  66. MENUITEM "E&xit",                       ID_APP_EXIT
  67. END
  68. POPUP "&View"
  69. BEGIN
  70. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  71. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  72. END
  73. POPUP "&Help"
  74. BEGIN
  75. MENUITEM "&About DIBLOOK...",           ID_APP_ABOUT
  76. END
  77. END
  78. IDR_DIBTYPE MENU PRELOAD DISCARDABLE
  79. BEGIN
  80. POPUP "&File"
  81. BEGIN
  82. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  83. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  84. MENUITEM "&Close",                      ID_FILE_CLOSE
  85. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  86. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  87. MENUITEM SEPARATOR
  88. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  89. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  90. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  91. MENUITEM SEPARATOR
  92. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  93. MENUITEM SEPARATOR
  94. MENUITEM "E&xit",                       ID_APP_EXIT
  95. END
  96. POPUP "&Edit"
  97. BEGIN
  98. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  99. MENUITEM SEPARATOR
  100. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  101. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  102. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  103. END
  104. POPUP "&View"
  105. BEGIN
  106. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  107. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  108. END
  109. POPUP "&Window"
  110. BEGIN
  111. MENUITEM "&New Window",                 ID_WINDOW_NEW
  112. MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  113. MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  114. MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  115. END
  116. POPUP "&Help"
  117. BEGIN
  118. MENUITEM "&About DIBLOOK...",           ID_APP_ABOUT
  119. END
  120. END
  121. /////////////////////////////////////////////////////////////////////////////
  122. //
  123. // Accelerator
  124. //
  125. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  126. BEGIN
  127. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  128. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  129. "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  130. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  131. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  132. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  133. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  134. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  135. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  136. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  137. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  138. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  139. VK_F6,          ID_NEXT_PANE,           VIRTKEY
  140. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  141. END
  142. /////////////////////////////////////////////////////////////////////////////
  143. //
  144. // Dialog
  145. //
  146. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  147. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  148. FONT 8, "MS Sans Serif"
  149. BEGIN
  150. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  151. LTEXT           "DIBLOOK Application Version 1.0",IDC_STATIC,40,10,119,8
  152. LTEXT           "Copyright