home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / general / propdlg / propdlg.rc < prev    next >
Text File  |  1998-03-26  |  12KB  |  405 lines

  1. //Microsoft Visual C++ generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE
  42. BEGIN
  43.     "#include ""res\\propdlg.rc2""  // non-App Studio edited resources\r\n"
  44.     "\r\n"
  45.     "#include ""afxres.rc""  \011// Standard components\r\n"
  46.     "#include ""afxprint.rc""\011// printing/print preview resources\r\n"
  47.     "\0"
  48. END
  49.  
  50. #endif    // APSTUDIO_INVOKED
  51.  
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54. //
  55. // Icon
  56. //
  57.  
  58. IDR_MAINFRAME           ICON    DISCARDABLE     "RES\\PROPDLG.ICO"
  59. IDR_SHAPESTYPE          ICON    DISCARDABLE     "RES\\SHAPEDOC.ICO"
  60.  
  61. /////////////////////////////////////////////////////////////////////////////
  62. //
  63. // Bitmap
  64. //
  65.  
  66. IDR_MAINFRAME           BITMAP  MOVEABLE PURE   "RES\\TOOLBAR.BMP"
  67.  
  68. /////////////////////////////////////////////////////////////////////////////
  69. //
  70. // Menu
  71. //
  72.  
  73. IDR_MAINFRAME MENU PRELOAD DISCARDABLE
  74. BEGIN
  75.     POPUP "&File"
  76.     BEGIN
  77.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  78.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  79.         MENUITEM SEPARATOR
  80.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  81.         MENUITEM SEPARATOR
  82.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  83.         MENUITEM SEPARATOR
  84.         MENUITEM "E&xit",                       ID_APP_EXIT
  85.     END
  86.     POPUP "&View"
  87.     BEGIN
  88.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  89.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  90.     END
  91.     POPUP "&Help"
  92.     BEGIN
  93.         MENUITEM "&About Property Sample...",   ID_APP_ABOUT
  94.     END
  95. END
  96.  
  97. IDR_SHAPESTYPE MENU PRELOAD DISCARDABLE
  98. BEGIN
  99.     POPUP "&File"
  100.     BEGIN
  101.         MENUITEM "&New\tCtrl+N",                ID_FILE_NEW
  102.         MENUITEM "&Open...\tCtrl+O",            ID_FILE_OPEN
  103.         MENUITEM "&Close",                      ID_FILE_CLOSE
  104.         MENUITEM "&Save\tCtrl+S",               ID_FILE_SAVE
  105.         MENUITEM "Save &As...",                 ID_FILE_SAVE_AS
  106.         MENUITEM SEPARATOR
  107.         MENUITEM "&Print...\tCtrl+P",           ID_FILE_PRINT
  108.         MENUITEM "Print Pre&view",              ID_FILE_PRINT_PREVIEW
  109.         MENUITEM "P&rint Setup...",             ID_FILE_PRINT_SETUP
  110.         MENUITEM SEPARATOR
  111.         MENUITEM "Recent File",                 ID_FILE_MRU_FILE1, GRAYED
  112.         MENUITEM SEPARATOR
  113.         MENUITEM "E&xit",                       ID_APP_EXIT
  114.     END
  115.     POPUP "&Edit"
  116.     BEGIN
  117.         MENUITEM "&Undo\tCtrl+Z",               ID_EDIT_UNDO
  118.         MENUITEM SEPARATOR
  119.         MENUITEM "Cu&t\tCtrl+X",                ID_EDIT_CUT
  120.         MENUITEM "&Copy\tCtrl+C",               ID_EDIT_COPY
  121.         MENUITEM "&Paste\tCtrl+V",              ID_EDIT_PASTE
  122.     END
  123.     POPUP "&Object"
  124.     BEGIN
  125.         MENUITEM "&Simple Property Sheet...",   ID_SIMPLE_PROPERTY_SHEET
  126.         MENUITEM "Property Sheet with Preview...",
  127.                                                 ID_PROPERTY_SHEET_WITH_PREVIEW
  128.  
  129.         MENUITEM "&Mini Frame Property Sheet...",
  130.                                                 ID_MINI_FRAME_PROPERTY_SHEET
  131.     END
  132.     POPUP "&View"
  133.     BEGIN
  134.         MENUITEM "&Toolbar",                    ID_VIEW_TOOLBAR
  135.         MENUITEM "&Status Bar",                 ID_VIEW_STATUS_BAR
  136.     END
  137.     POPUP "&Window"
  138.     BEGIN
  139.         MENUITEM "&New Window",                 ID_WINDOW_NEW
  140.         MENUITEM "&Cascade",                    ID_WINDOW_CASCADE
  141.         MENUITEM "&Tile",                       ID_WINDOW_TILE_HORZ
  142.         MENUITEM "&Arrange Icons",              ID_WINDOW_ARRANGE
  143.     END
  144.     POPUP "&Help"
  145.     BEGIN
  146.         MENUITEM "&About Property Sample...",   ID_APP_ABOUT
  147.     END
  148. END
  149.  
  150.  
  151. /////////////////////////////////////////////////////////////////////////////
  152. //
  153. // Accelerator
  154. //
  155.  
  156. IDR_MAINFRAME ACCELERATORS PRELOAD MOVEABLE PURE
  157. BEGIN
  158.     "N",            ID_FILE_NEW,            VIRTKEY, CONTROL
  159.     "O",            ID_FILE_OPEN,           VIRTKEY, CONTROL
  160.     "S",            ID_FILE_SAVE,           VIRTKEY, CONTROL
  161.     "P",            ID_FILE_PRINT,          VIRTKEY, CONTROL
  162.     "Z",            ID_EDIT_UNDO,           VIRTKEY, CONTROL
  163.     "X",            ID_EDIT_CUT,            VIRTKEY, CONTROL
  164.     "C",            ID_EDIT_COPY,           VIRTKEY, CONTROL
  165.     "V",            ID_EDIT_PASTE,          VIRTKEY, CONTROL
  166.     VK_BACK,        ID_EDIT_UNDO,           VIRTKEY, ALT
  167.     VK_DELETE,      ID_EDIT_CUT,            VIRTKEY, SHIFT
  168.     VK_INSERT,      ID_EDIT_COPY,           VIRTKEY, CONTROL
  169.     VK_INSERT,      ID_EDIT_PASTE,          VIRTKEY, SHIFT
  170.     VK_F6,          ID_NEXT_PANE,           VIRTKEY
  171.     VK_F6,          ID_PREV_PANE,           VIRTKEY, SHIFT
  172. END
  173.  
  174. /////////////////////////////////////////////////////////////////////////////
  175. //
  176. // Dialog
  177. //
  178.  
  179. IDD_ABOUTBOX DIALOG DISCARDABLE  34, 22, 217, 55
  180. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  181. CAPTION "About Property Sample"
  182. FONT 8, "MS Sans Serif"
  183. BEGIN
  184.     ICON            IDR_MAINFRAME,IDC_STATIC,11,17,18,20
  185.     LTEXT           "Property Sample Version 1.0",IDC_STATIC,40,10,93,8
  186.     LTEXT           "Copyright ⌐ 1994 - 1998",IDC_STATIC,40,25,81,8
  187.     DEFPUSHBUTTON   "OK",IDOK,176,6,32,14,WS_GROUP
  188. END
  189.  
  190. IDD_STYLE DIALOG DISCARDABLE  0, 0, 164, 70
  191. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  192. CAPTION "Style"
  193. FONT 8, "MS Sans Serif"
  194. BEGIN
  195.     CONTROL         "&Rectangle",IDC_RECTANGLE,"Button",BS_AUTORADIOBUTTON |
  196.                     WS_GROUP,10,10,59,11
  197.     CONTROL         "R&ound Rectangle",IDC_ROUND_RECTANGLE,"Button",
  198.                     BS_AUTORADIOBUTTON,10,24,68,10
  199.     CONTROL         "&Ellipse",IDC_ELLIPSE,"Button",BS_AUTORADIOBUTTON,10,39,
  200.                     60,10
  201. END
  202.  
  203. IDD_COLOR DIALOG DISCARDABLE  0, 0, 164, 70
  204. STYLE WS_CHILD | WS_DISABLED | WS_CAPTION
  205. CAPTION "Color"
  206. FONT 8, "MS Sans Serif"
  207. BEGIN
  208.     CONTROL         "&Black",IDC_BLACK,"Button",BS_AUTORADIOBUTTON |
  209.                     WS_GROUP,10,10,35,10
  210.     CONTROL         "&Red",IDC_RED,"Button",BS_AUTORADIOBUTTON,10,24,33,10
  211.     CONTROL         "&Green",IDC_GREEN,"Button",BS_AUTORADIOBUTTON,10,39,34,
  212.                     10
  213.     CONTROL         "B&lue",IDC_BLUE,"Button",BS_AUTORADIOBUTTON,10,55,30,10
  214. END
  215.  
  216.  
  217. /////////////////////////////////////////////////////////////////////////////
  218. //
  219. // Version
  220. //
  221.  
  222. VS_VERSION_INFO VERSIONINFO
  223.  FILEVERSION 1,0,0,1
  224.  PRODUCTVERSION 1,0,0,1
  225.  FILEFLAGSMASK 0x3fL
  226. #ifdef _DEBUG
  227.  FILEFLAGS 0x1L
  228. #else
  229.  FILEFLAGS 0x0L
  230. #endif
  231.  FILEOS 0x40004L
  232.  FILETYPE 0x1L
  233.  FILESUBTYPE 0x0L
  234. BEGIN
  235.     BLOCK "StringFileInfo"
  236.     BEGIN
  237.         BLOCK "040904b0"
  238.         BEGIN
  239.             VALUE "CompanyName", "\0"
  240.             VALUE "FileDescription", "PROPDLG MFC Application\0"
  241.             VALUE "FileVersion", "1, 0, 0, 1\0"
  242.             VALUE "InternalName", "PROPDLG\0"
  243.             VALUE "LegalCopyright", "Copyright ⌐ 1994 - 1998\0"
  244.             VALUE "OriginalFilename", "PROPDLG.EXE\0"
  245.             VALUE "ProductName", "PROPDLG Application\0"
  246.             VALUE "ProductVersion", "1, 0, 0, 1\0"
  247.         END
  248.     END
  249.     BLOCK "VarFileInfo"
  250.     BEGIN
  251.         VALUE "Translation", 0x409, 1200
  252.     END
  253. END
  254.  
  255.  
  256.  
  257. /////////////////////////////////////////////////////////////////////////////
  258. //
  259. // String Table
  260. //
  261.  
  262. STRINGTABLE PRELOAD DISCARDABLE
  263. BEGIN
  264.     IDR_MAINFRAME           "Property Sample"
  265.     IDR_SHAPESTYPE          "\nShapes\nShapes Document\nShapes Files (*.shp)\n.shp\nPropdlg.shapes.1\nShapes Document\nSHAP\nShape Files"
  266. END
  267.  
  268. STRINGTABLE PRELOAD DISCARDABLE
  269. BEGIN
  270.     AFX_IDS_APP_TITLE       "Property Sample"
  271.     AFX_IDS_IDLEMESSAGE     "Ready"
  272. END
  273.  
  274. STRINGTABLE DISCARDABLE
  275. BEGIN
  276.     ID_INDICATOR_EXT        "EXT"
  277.     ID_INDICATOR_CAPS       "CAP"
  278.     ID_INDICATOR_NUM        "NUM"
  279.     ID_INDICATOR_SCRL       "SCRL"
  280.     ID_INDICATOR_OVR        "OVR"
  281.     ID_INDICATOR_REC        "REC"
  282. END
  283.  
  284. STRINGTABLE DISCARDABLE
  285. BEGIN
  286.     ID_FILE_NEW             "Create a new document"
  287.     ID_FILE_OPEN            "Open an existing document"
  288.     ID_FILE_CLOSE           "Close the active document"
  289.     ID_FILE_SAVE            "Save the active document"
  290.     ID_FILE_SAVE_AS         "Save the active document with a new name"
  291.     ID_FILE_PAGE_SETUP      "Change the printing options"
  292.     ID_FILE_PRINT_SETUP     "Change the printer and printing options"
  293.     ID_FILE_PRINT           "Print the active document"
  294.     ID_FILE_PRINT_PREVIEW   "Display full pages"
  295. END
  296.  
  297. STRINGTABLE DISCARDABLE
  298. BEGIN
  299.     AFX_IDS_DESKACCESSORY   "Opens the selected item"
  300. END
  301.  
  302. STRINGTABLE DISCARDABLE
  303. BEGIN
  304.     ID_APP_ABOUT            "Display program information, version number and copyright"
  305.     ID_APP_EXIT             "Quit the application; prompts to save documents"
  306. END
  307.  
  308. STRINGTABLE DISCARDABLE
  309. BEGIN
  310.     ID_FILE_MRU_FILE1       "Open this document"
  311.     ID_FILE_MRU_FILE2       "Open this document"
  312.     ID_FILE_MRU_FILE3       "Open this document"
  313.     ID_FILE_MRU_FILE4       "Open this document"
  314. END
  315.  
  316. STRINGTABLE DISCARDABLE
  317. BEGIN
  318.     ID_NEXT_PANE            "Switch to the next window pane"
  319.     ID_PREV_PANE            "Switch back to the previous window pane"
  320. END
  321.  
  322. STRINGTABLE DISCARDABLE
  323. BEGIN
  324.     ID_WINDOW_NEW           "Open another window for the active document"
  325.     ID_WINDOW_ARRANGE       "Arrange icons at the bottom of the window"
  326.     ID_WINDOW_CASCADE       "Arrange windows so they overlap"
  327.     ID_WINDOW_TILE_HORZ     "Arrange windows as non-overlapping tiles"
  328.     ID_WINDOW_TILE_VERT     "Arrange windows as non-overlapping tiles"
  329.     ID_WINDOW_SPLIT         "Split the active window into panes"
  330. END
  331.  
  332. STRINGTABLE DISCARDABLE
  333. BEGIN
  334.     ID_EDIT_CLEAR           "Erase the selection"
  335.     ID_EDIT_CLEAR_ALL       "Erase everything"
  336.     ID_EDIT_COPY            "Copy the selection and put it on the Clipboard"
  337.     ID_EDIT_CUT             "Cut the selection and put it on the Clipboard"
  338.     ID_EDIT_FIND            "Find the specified text"
  339.     ID_EDIT_PASTE           "Insert Clipboard contents"
  340.     ID_EDIT_REPEAT          "Repeat the last action"
  341.     ID_EDIT_REPLACE         "Replace specific text with different text"
  342.     ID_EDIT_SELECT_ALL      "Select the entire document"
  343.     ID_EDIT_UNDO            "Undo the last action"
  344.     ID_EDIT_REDO            "Redo the previously undone action"
  345. END
  346.  
  347. STRINGTABLE DISCARDABLE
  348. BEGIN
  349.     ID_VIEW_TOOLBAR         "Show or hide the toolbar"
  350.     ID_VIEW_STATUS_BAR      "Show or hide the status bar"
  351. END
  352.  
  353. STRINGTABLE DISCARDABLE
  354. BEGIN
  355.     AFX_IDS_SCSIZE          "Change the window size"
  356.     AFX_IDS_SCMOVE          "Change the window position"
  357.     AFX_IDS_SCMINIMIZE      "Reduce the window to an icon"
  358.     AFX_IDS_SCMAXIMIZE      "Enlarge the window to full size"
  359.     AFX_IDS_SCNEXTWINDOW    "Switch to the next document window"
  360.     AFX_IDS_SCPREVWINDOW    "Switch to the previous document window"
  361.     AFX_IDS_SCCLOSE         "Close the active window and prompts to save the documents"
  362. END
  363.  
  364. STRINGTABLE DISCARDABLE
  365. BEGIN
  366.     AFX_IDS_SCRESTORE       "Restore the window to normal size"
  367.     AFX_IDS_SCTASKLIST      "Activate Task List"
  368.     AFX_IDS_MDICHILD        "Activate this window"
  369. END
  370.  
  371. STRINGTABLE DISCARDABLE
  372. BEGIN
  373.     ID_SIMPLE_PROPERTY_SHEET
  374.                             "Demonstrates default MFC property sheet support"
  375.     ID_PROPERTY_SHEET_WITH_PREVIEW
  376.                             "Demonstrates property sheet with controls shared by all property pages"
  377.     ID_MINI_FRAME_PROPERTY_SHEET
  378.                             "Demonstrates modeless mini frame for property sheet"
  379.     ID_MINI_FRAME_WITH_PIN_BUTTON
  380.                             "Demonstrates pin button to the left of tabs in a mini frame property sheet"
  381. END
  382.  
  383. STRINGTABLE DISCARDABLE
  384. BEGIN
  385.     IDS_OBJECT_PROPERTIES   "Object Properties"
  386. END
  387.  
  388. #endif    // English (U.S.) resources
  389. /////////////////////////////////////////////////////////////////////////////
  390.  
  391.  
  392.  
  393. #ifndef APSTUDIO_INVOKED
  394. /////////////////////////////////////////////////////////////////////////////
  395. //
  396. // Generated from the TEXTINCLUDE 3 resource.
  397. //
  398. #include "res\propdlg.rc2"  // non-App Studio edited resources
  399.  
  400. #include "afxres.rc"    // Standard components
  401. #include "afxprint.rc"  // printing/print preview resources
  402.  
  403. /////////////////////////////////////////////////////////////////////////////
  404. #endif    // not APSTUDIO_INVOKED
  405.