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

Windows编程

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "atldres.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. "atldres.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\ATLDraw.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\ATLDraw.ico"
  58. IDR_ATLDRATYPE          ICON    DISCARDABLE     "res\ATLDDoc.ico"
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Bitmap
  62. //
  63. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  64. /////////////////////////////////////////////////////////////////////////////
  65. //
  66. // Toolbar
  67. //
  68. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  69. BEGIN
  70. BUTTON      ID_FILE_NEW
  71. BUTTON      ID_FILE_OPEN
  72. BUTTON      ID_FILE_SAVE
  73. SEPARATOR
  74. BUTTON      ID_EDIT_CUT
  75. BUTTON      ID_EDIT_COPY
  76. BUTTON      ID_EDIT_PASTE
  77. SEPARATOR
  78. BUTTON      ID_FILE_PRINT
  79. BUTTON      ID_APP_ABOUT
  80. END
  81. /////////////////////////////////////////////////////////////////////////////
  82. //
  83. // Menu
  84. //
  85. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  86. BEGIN
  87. POPUP "&File"
  88. BEGIN
  89. MENUITEM "&NewtCtrl+N",                ID_FILE_NEW
  90. MENUITEM "&Open...tCtrl+O",            ID_FILE_OPEN
  91. MENUITEM "&SavetCtrl+S",               ID_FILE_SAVE
  92. MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  93. MENUITEM SEPARATOR
  94. MENUITEM "&Print...tCtrl+P",           ID_FILE_PRINT
  95. MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  96. MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  97. MENUITEM SEPARATOR
  98. MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  99. MENUITEM SEPARATOR
  100. MENUITEM "E&xit",                       ID_APP_EXIT
  101. END
  102. POPUP "&Edit"
  103. BEGIN
  104. MENUITEM "&UndotCtrl+Z",               ID_EDIT_UNDO
  105. MENUITEM SEPARATOR
  106. MENUITEM "Cu&ttCtrl+X",                ID_EDIT_CUT
  107. MENUITEM "&CopytCtrl+C",               ID_EDIT_COPY
  108. MENUITEM "&PastetCtrl+V",              ID_EDIT_PASTE
  109. END
  110. POPUP "&Server"
  111. BEGIN
  112. MENUITEM "&Connect",                    ID_SERVER_CONNECT
  113. MENUITEM "&Disconnent",                 ID_SERVER_DISCONNENT
  114. END
  115. POPUP "&View"
  116. BEGIN
  117. MENUITEM "&Color",                      ID_VIEW_COLOR
  118. MENUITEM SEPARATOR
  119. MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  120. MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  121. END
  122. POPUP "&Help"
  123. BEGIN
  124. MENUITEM "&About ATLDraw...",           ID_APP_ABOUT
  125. END
  126. END
  127. /////////////////////////////////////////////////////////////////////////////
  128. //
  129. // Accelerator
  130. //
  131. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  132. BEGIN
  133. "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  134. "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  135. "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  136. "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  137. "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  138. "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  139. "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  140. "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  141. VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  142. VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  143. VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  144. VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  145. VK_F6,          ID_NEXT_PANE,           VIRTKEY
  146. VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  147. END
  148. /////////////////////////////////////////////////////////////////////////////
  149. //
  150. // Dialog
  151. //
  152. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  153. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  154. CAPTION "About ATLDraw"
  155. FONT 8, "MS Sans Serif"
  156. BEGIN
  157. ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  158. LTEXT           "ATLDraw Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
  159. LTEXT           "Copyright