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

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. "#define _AFX_NO_SPLITTER_RESOURCESrn"
  36. "#define _AFX_NO_OLE_RESOURCESrn"
  37. "#define _AFX_NO_TRACKER_RESOURCESrn"
  38. "#define _AFX_NO_PROPERTY_RESOURCESrn"
  39. "rn"
  40. "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  41. "#ifdef _WIN32rn"
  42. "LANGUAGE 9, 1rn"
  43. "#pragma code_page(1252)rn"
  44. "#endifrn"
  45. "#include ""res\CatDB.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  46. "#include ""afxres.rc""         // Standard componentsrn"
  47. "#include ""afxprint.rc""       // printing/print preview resourcesrn"
  48. "#endif"
  49. END
  50. #endif    // APSTUDIO_INVOKED
  51. /////////////////////////////////////////////////////////////////////////////
  52. //
  53. // Icon
  54. //
  55. // Icon with lowest ID value placed first to ensure application icon
  56. // remains consistent on all systems.
  57. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CatDB.ico"
  58. IDR_CAT3TYPE            ICON    DISCARDABLE     "res\CatDBDoc.ico"
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Menu
  62. //
  63. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  64. BEGIN
  65. POPUP "&File"
  66. BEGIN
  67. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  68. MENUITEM SEPARATOR
  69. MENUITEM "E&xit",                       ID_APP_EXIT
  70. END
  71. POPUP "&View"
  72. BEGIN
  73. MENUITEM "Ta&bles",                     ID_VIEW_TABLES
  74. MENUITEM "&Column Info",                ID_VIEW_COLUMNINFO
  75. MENUITEM SEPARATOR
  76. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  77. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  78. MENUITEM SEPARATOR
  79. MENUITEM "Settin&gs",                   ID_VIEW_SETTINGS
  80. END
  81. POPUP "&Help"
  82. BEGIN
  83. MENUITEM "&About CatDB...",             ID_APP_ABOUT
  84. END
  85. END
  86. /////////////////////////////////////////////////////////////////////////////
  87. //
  88. // Accelerator
  89. //
  90. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  91. BEGIN
  92. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  93. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  94. "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  95. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  96. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  97. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  98. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  99. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  100. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  101. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  102. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  103. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  104. VK_F6,          ID_NEXT_PANE,           VIRTKEY
  105. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  106. END
  107. /////////////////////////////////////////////////////////////////////////////
  108. //
  109. // Dialog
  110. //
  111. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  112. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  113. CAPTION "About CatDB"
  114. FONT 8, "MS Sans Serif"
  115. BEGIN
  116. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  117. LTEXT           "CatDB Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  118. LTEXT           "Copyright