ProgressDemo.rc
上传用户:xp758258
上传日期:2007-01-02
资源大小:40k
文件大小:12k
源码类别:

状态条

开发平台:

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. /////////////////////////////////////////////////////////////////////////////
  20. //
  21. // Icon
  22. //
  23. // Icon with lowest ID value placed first to ensure application icon
  24. // remains consistent on all systems.
  25. IDR_MAINFRAME           ICON    DISCARDABLE     "res\ProgressDemo.ico"
  26. IDR_PROGRETYPE          ICON    DISCARDABLE     "res\ProgressDemoDoc.ico"
  27. /////////////////////////////////////////////////////////////////////////////
  28. //
  29. // Bitmap
  30. //
  31. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "res\Toolbar.bmp"
  32. /////////////////////////////////////////////////////////////////////////////
  33. //
  34. // Toolbar
  35. //
  36. IDR_MAINFRAME TOOLBAR DISCARDABLE  16, 15
  37. BEGIN
  38.     BUTTON      ID_FILE_NEW
  39.     BUTTON      ID_FILE_OPEN
  40.     BUTTON      ID_FILE_SAVE
  41.     SEPARATOR
  42.     BUTTON      ID_EDIT_CUT
  43.     BUTTON      ID_EDIT_COPY
  44.     BUTTON      ID_EDIT_PASTE
  45.     SEPARATOR
  46.     BUTTON      ID_FILE_PRINT
  47.     BUTTON      ID_APP_ABOUT
  48. END
  49. /////////////////////////////////////////////////////////////////////////////
  50. //
  51. // Menu
  52. //
  53. IDR_MAINFRAME MENU PRELOAD DISCARDABLE 
  54. BEGIN
  55.     POPUP "&File"
  56.     BEGIN
  57.         MENUITEM "E&xit",                       ID_APP_EXIT
  58.     END
  59.     POPUP "&View"
  60.     BEGIN
  61.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  62.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  63.     END
  64.     POPUP "Test Progress bar"
  65.     BEGIN
  66.         MENUITEM "Smooth",                      ID_TEST_SMOOTHBAR
  67.         MENUITEM "Standard",                    ID_TEST_STDBAR
  68.         MENUITEM "Changing text",               ID_TEST_CHANGETEXT
  69.         MENUITEM "Test in pane 2",              ID_TEST_PANE2
  70.     END
  71.     POPUP "&Help"
  72.     BEGIN
  73.         MENUITEM "&About ProgressDemo...",      ID_APP_ABOUT
  74.     END
  75. END
  76. /////////////////////////////////////////////////////////////////////////////
  77. //
  78. // Accelerator
  79. //
  80. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE 
  81. BEGIN
  82.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  83.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  84.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  85.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  86.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  87.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  88.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  89.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  90.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  91.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  92.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  93.     VK_F6,          ID_NEXT_PANE,           VIRTKEY 
  94.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  95. END
  96. /////////////////////////////////////////////////////////////////////////////
  97. //
  98. // Dialog
  99. //
  100. IDD_ABOUTBOX DIALOG DISCARDABLE  0, 0, 217, 55
  101. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  102. CAPTION "About ProgressDemo"
  103. FONT 8, "MS Sans Serif"
  104. BEGIN
  105.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,20,20
  106.     LTEXT           "ProgressDemo Version 1.0",IDC_STATIC,40,10,119,8,
  107.                     SS_NOPREFIX
  108.     LTEXT           "Copyright (C) 1997",IDC_STATIC,40,25,119,8
  109.     DEFPUSHBUTTON   "OK",IDOK,178,7,32,14,WS_GROUP
  110. END
  111. #ifndef _MAC
  112. /////////////////////////////////////////////////////////////////////////////
  113. //
  114. // Version
  115. //
  116. VS_VERSION_INFO VERSIONINFO
  117.  FILEVERSION 1,0,0,1
  118.  PRODUCTVERSION 1,0,0,1
  119.  FILEFLAGSMASK 0x3fL
  120. #ifdef _DEBUG
  121.  FILEFLAGS 0x1L
  122. #else
  123.  FILEFLAGS 0x0L
  124. #endif
  125.  FILEOS 0x4L
  126.  FILETYPE 0x1L
  127.  FILESUBTYPE 0x0L
  128. BEGIN
  129.     BLOCK "StringFileInfo"
  130.     BEGIN
  131.         BLOCK "040904B0"
  132.         BEGIN
  133.             VALUE "CompanyName", ""
  134.             VALUE "FileDescription", "ProgressDemo MFC Application"
  135.             VALUE "FileVersion", "1, 0, 0, 1"
  136.             VALUE "InternalName", "ProgressDemo"
  137.             VALUE "LegalCopyright", "Copyright (C) 1997"
  138.             VALUE "LegalTrademarks", ""
  139.             VALUE "OriginalFilename", "ProgressDemo.EXE"
  140.             VALUE "ProductName", "ProgressDemo Application"
  141.             VALUE "ProductVersion", "1, 0, 0, 1"
  142.         END
  143.     END
  144.     BLOCK "VarFileInfo"
  145.     BEGIN
  146.         VALUE "Translation", 0x409, 1200
  147.     END
  148. END
  149. #endif    // !_MAC
  150. /////////////////////////////////////////////////////////////////////////////
  151. //
  152. // DESIGNINFO
  153. //
  154. #ifdef APSTUDIO_INVOKED
  155. GUIDELINES DESIGNINFO DISCARDABLE 
  156. BEGIN
  157.     IDD_ABOUTBOX, DIALOG
  158.     BEGIN
  159.         LEFTMARGIN, 7
  160.         RIGHTMARGIN, 210
  161.         TOPMARGIN, 7
  162.         BOTTOMMARGIN, 48
  163.     END
  164. END
  165. #endif    // APSTUDIO_INVOKED
  166. /////////////////////////////////////////////////////////////////////////////
  167. //
  168. // String Table
  169. //
  170. STRINGTABLE PRELOAD DISCARDABLE 
  171. BEGIN
  172.     IDR_MAINFRAME           "ProgressDemonnnnnProgressDemo.DocumentnProgre Document"
  173. END
  174. STRINGTABLE PRELOAD DISCARDABLE 
  175. BEGIN
  176.     AFX_IDS_APP_TITLE       "ProgressDemo"
  177.     AFX_IDS_IDLEMESSAGE     "Ready"
  178. END
  179. STRINGTABLE DISCARDABLE 
  180. BEGIN
  181.     ID_INDICATOR_EXT        "EXT"
  182.     ID_INDICATOR_CAPS       "CAPS LOCK ON"
  183.     ID_INDICATOR_NUM        "NUM"
  184.     ID_INDICATOR_SCRL       "SCRL"
  185.     ID_INDICATOR_OVR        "OVR"
  186.     ID_INDICATOR_REC        "REC"
  187. END
  188. STRINGTABLE DISCARDABLE 
  189. BEGIN
  190.     ID_FILE_NEW             "Create a new documentnNew"
  191.     ID_FILE_OPEN            "Open an existing documentnOpen"
  192.     ID_FILE_CLOSE           "Close the active documentnClose"
  193.     ID_FILE_SAVE            "Save the active documentnSave"
  194.     ID_FILE_SAVE_AS         "Save the active document with a new namenSave As"
  195. END
  196. STRINGTABLE DISCARDABLE 
  197. BEGIN
  198.     ID_APP_ABOUT            "Display program information, version number and copyrightnAbout"
  199.     ID_APP_EXIT             "Quit the application; prompts to save documentsnExit"
  200. END
  201. STRINGTABLE DISCARDABLE 
  202. BEGIN
  203.     ID_FILE_MRU_FILE1       "Open this document"
  204.     ID_FILE_MRU_FILE2       "Open this document"
  205.     ID_FILE_MRU_FILE3       "Open this document"
  206.     ID_FILE_MRU_FILE4       "Open this document"
  207.     ID_FILE_MRU_FILE5       "Open this document"
  208.     ID_FILE_MRU_FILE6       "Open this document"
  209.     ID_FILE_MRU_FILE7       "Open this document"
  210.     ID_FILE_MRU_FILE8       "Open this document"
  211.     ID_FILE_MRU_FILE9       "Open this document"
  212.     ID_FILE_MRU_FILE10      "Open this document"
  213.     ID_FILE_MRU_FILE11      "Open this document"
  214.     ID_FILE_MRU_FILE12      "Open this document"
  215.     ID_FILE_MRU_FILE13      "Open this document"
  216.     ID_FILE_MRU_FILE14      "Open this document"
  217.     ID_FILE_MRU_FILE15      "Open this document"
  218.     ID_FILE_MRU_FILE16      "Open this document"
  219. END
  220. STRINGTABLE DISCARDABLE 
  221. BEGIN
  222.     ID_NEXT_PANE            "Switch to the next window panenNext Pane"
  223.     ID_PREV_PANE            "Switch back to the previous window panenPrevious Pane"
  224. END
  225. STRINGTABLE DISCARDABLE 
  226. BEGIN
  227.     ID_WINDOW_SPLIT         "Split the active window into panesnSplit"
  228. END
  229. STRINGTABLE DISCARDABLE 
  230. BEGIN
  231.     ID_EDIT_CLEAR           "Erase the selectionnErase"
  232.     ID_EDIT_CLEAR_ALL       "Erase everythingnErase All"
  233.     ID_EDIT_COPY            "Copy the selection and put it on the ClipboardnCopy"
  234.     ID_EDIT_CUT             "Cut the selection and put it on the ClipboardnCut"
  235.     ID_EDIT_FIND            "Find the specified textnFind"
  236.     ID_EDIT_PASTE           "Insert Clipboard contentsnPaste"
  237.     ID_EDIT_REPEAT          "Repeat the last actionnRepeat"
  238.     ID_EDIT_REPLACE         "Replace specific text with different textnReplace"
  239.     ID_EDIT_SELECT_ALL      "Select the entire documentnSelect All"
  240.     ID_EDIT_UNDO            "Undo the last actionnUndo"
  241.     ID_EDIT_REDO            "Redo the previously undone actionnRedo"
  242. END
  243. STRINGTABLE DISCARDABLE 
  244. BEGIN
  245.     ID_VIEW_TOOLBAR         "Show or hide the toolbarnToggle ToolBar"
  246.     ID_VIEW_STATUS_BAR      "Show or hide the status barnToggle StatusBar"
  247. END
  248. STRINGTABLE DISCARDABLE 
  249. BEGIN
  250.     AFX_IDS_SCSIZE          "Change the window size"
  251.     AFX_IDS_SCMOVE          "Change the window position"
  252.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  253.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  254.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  255.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  256.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  257. END
  258. STRINGTABLE DISCARDABLE 
  259. BEGIN
  260.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  261.     AFX_IDS_SCTASKLIST      "Activate Task List"
  262. END
  263. STRINGTABLE DISCARDABLE 
  264. BEGIN
  265.     ID_TEST_BAR             "Gives a demo of the CProgressBar class"
  266.     ID_TEST_SMOOTHBAR       "Test the progressbar as a smooth bar"
  267.     ID_TEST_STDBAR          "Test the progressbar as a standard chunky bar"
  268.     ID_TEST_CHANGETEXT      "Test changing the text"
  269.     ID_TEST_PANE2           "Test in pane 2"
  270. END
  271. #endif    // English (U.S.) resources
  272. /////////////////////////////////////////////////////////////////////////////
  273. /////////////////////////////////////////////////////////////////////////////
  274. // English (Australia) resources
  275. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENA)
  276. #ifdef _WIN32
  277. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_AUS
  278. #pragma code_page(1252)
  279. #endif //_WIN32
  280. #ifdef APSTUDIO_INVOKED
  281. /////////////////////////////////////////////////////////////////////////////
  282. //
  283. // TEXTINCLUDE
  284. //
  285. 1 TEXTINCLUDE DISCARDABLE 
  286. BEGIN
  287.     "resource.h"
  288. END
  289. 2 TEXTINCLUDE DISCARDABLE 
  290. BEGIN
  291.     "#include ""afxres.h""rn"
  292.     ""
  293. END
  294. 3 TEXTINCLUDE DISCARDABLE 
  295. BEGIN
  296.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  297.     "#define _AFX_NO_OLE_RESOURCESrn"
  298.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  299.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  300.     "rn"
  301.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  302.     "#ifdef _WIN32rn"
  303.     "LANGUAGE 9, 1rn"
  304.     "#pragma code_page(1252)rn"
  305.     "#endifrn"
  306.     "#include ""res\ProgressDemo.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  307.     "#include ""afxres.rc""         // Standard componentsrn"
  308.     "#endif"
  309. END
  310. #endif    // APSTUDIO_INVOKED
  311. #endif    // English (Australia) resources
  312. /////////////////////////////////////////////////////////////////////////////
  313. #ifndef APSTUDIO_INVOKED
  314. /////////////////////////////////////////////////////////////////////////////
  315. //
  316. // Generated from the TEXTINCLUDE 3 resource.
  317. //
  318. #define _AFX_NO_SPLITTER_RESOURCES
  319. #define _AFX_NO_OLE_RESOURCES
  320. #define _AFX_NO_TRACKER_RESOURCES
  321. #define _AFX_NO_PROPERTY_RESOURCES
  322. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  323. #ifdef _WIN32
  324. LANGUAGE 9, 1
  325. #pragma code_page(1252)
  326. #endif
  327. #include "resProgressDemo.rc2"  // non-Microsoft Visual C++ edited resources
  328. #include "afxres.rc"         // Standard components
  329. #endif
  330. /////////////////////////////////////////////////////////////////////////////
  331. #endif    // not APSTUDIO_INVOKED