home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / inole2 / chap22 / patron / patron.res / patron.rc < prev    next >
Text (UTF-16)  |  1998-03-30  |  16KB  |  266 lines

  1. LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
  2.  
  3. 400 BITMAP "BITMAP400_1.bmp"
  4.  
  5. 401 BITMAP "BITMAP401_1.bmp"
  6.  
  7. 402 BITMAP "BITMAP402_1.bmp"
  8.  
  9. 1 MENU
  10. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  11. {
  12.   POPUP "&File"
  13.   {
  14.     MENUITEM "&New",  100
  15.     MENUITEM "&Open...",  101
  16.     MENUITEM "&Close",  102
  17.     MENUITEM "&Save",  103
  18.     MENUITEM "Save &As...",  104
  19.     MENUITEM SEPARATOR
  20.     MENUITEM "&Print...",  106
  21.     MENUITEM "P&rinter Setup...",  107
  22.     MENUITEM SEPARATOR
  23.     MENUITEM "E&xit",  105
  24.   }
  25.   POPUP "&Edit"
  26.   {
  27.     MENUITEM "&Cut\tCtrl+X",  201
  28.     MENUITEM "C&opy\tCtrl+C",  202
  29.     MENUITEM "&Paste\tCtrl+V",  203
  30.     MENUITEM "Paste &Special...",  204
  31.     MENUITEM SEPARATOR
  32.     MENUITEM "&Delete Object\tDel",  205
  33.     MENUITEM SEPARATOR
  34.     MENUITEM "&Insert Object...",  206
  35.     MENUITEM "&Object",  207,  GRAYED
  36.     MENUITEM SEPARATOR
  37.     MENUITEM "&Links...",  209,  GRAYED
  38.   }
  39.   POPUP "&Page"
  40.   {
  41.     MENUITEM "&New Page\tCtrl+N",  500
  42.     MENUITEM "&Delete Page\tCtrl+D",  501
  43.     MENUITEM SEPARATOR
  44.     MENUITEM "Nex&t Page\tPage Down",  502
  45.     MENUITEM "&Previous Page\tPage Up",  503
  46.     MENUITEM SEPARATOR
  47.     MENUITEM "&First Page\tCtrl+Home",  504
  48.     MENUITEM "&Last Page\tCtrl+End",  505
  49.     MENUITEM SEPARATOR
  50.     MENUITEM "Sho&w Objects",  506
  51.   }
  52.   POPUP "&Window"
  53.   {
  54.     MENUITEM "&Cascade",  300
  55.     MENUITEM "Tile &Horizontally",  301
  56.     MENUITEM "&Tile Vertically",  302
  57.     MENUITEM "Arrange &Icons",  303
  58.   }
  59.   POPUP "&Help"
  60.   {
  61.     MENUITEM "&About Patron...",  400
  62.   }
  63. }
  64.  
  65. 2 MENU
  66. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  67. {
  68.   MENUITEM "Cut",  201
  69.   MENUITEM "Copy",  202
  70.   MENUITEM SEPARATOR
  71.   MENUITEM "Delete Object",  205
  72.   MENUITEM SEPARATOR
  73.   MENUITEM "Object",  207,  GRAYED
  74.   MENUITEM SEPARATOR
  75.   MENUITEM "Links...",  209,  GRAYED
  76. }
  77.  
  78. 1 DIALOG 11, 22, 177, 96
  79. STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  80. CAPTION "About..."
  81. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  82. FONT 8, "Helv"
  83. {
  84.    CONTROL "Icon", 93, STATIC, SS_ICON | WS_CHILD | WS_VISIBLE, 9, 6, 18, 20 
  85.    CONTROL "Patron", 94, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 38, 4, 100, 9 
  86.    CONTROL "Inside OLE, Chapter 22", 95, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 38, 14, 100, 9 
  87.    CONTROL "Copyright \xA91994-1995 Microsoft Corp.", 96, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 38, 24, 125, 9 
  88.    CONTROL "Kraig Brockschmidt, Microsoft", 97, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 39, 38, 128, 9 
  89.    CONTROL "Internet:  kraigb@microsoft.com", 98, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 39, 49, 133, 10 
  90.    CONTROL "CIS:  INTERNET>kraigb@microsoft.com", 99, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 39, 60, 137, 10 
  91.    CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 69, 75, 42, 15 
  92. }
  93.  
  94. 2 DIALOG 10, 20, 128, 60
  95. STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  96. CAPTION "Patron"
  97. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  98. FONT 8, "MS Sans Serif"
  99. {
  100.    CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 44, 42, 40, 14 
  101.    CONTROL "Currently printing", 99, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 2, 116, 10 
  102.    CONTROL "Page 1 of 1", 101, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 14, 116, 10 
  103.    CONTROL "Copy 1 of 1", 102, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 26, 116, 10 
  104.    CONTROL "Page %d of %d", 104, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 65516, 116, 10 
  105.    CONTROL "Copy %d of %d", 103, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 65516, 116, 10 
  106. }
  107.  
  108. STRINGTABLE
  109. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  110. {
  111.   0,     "Patron Chapter 22"
  112.   1,     "(Untitled)"
  113.   2,     "%s has been modified.\nDo you wish to save it?"
  114.   3,     "PTN"
  115.   4,     ".PTN"
  116.   5,     "Patron Pages (*.ptn)|*.ptn|"
  117.   6,     "Patron (*.ptn)|*.ptn|"
  118.   7,     "File Open"
  119.   8,     "File Save As"
  120.   9,     "&File"
  121.   10,     "&Page"
  122.   11,     "&Window"
  123.   12,     "%s in %s"
  124. }
  125.  
  126. STRINGTABLE
  127. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  128. {
  129.   128,     "Patron Objects"
  130.   129,     "Document Error"
  131.   130,     "File data is not valid."
  132.   131,     "Could not read the requested document."
  133.   132,     "Could not write to the specified document."
  134.   133,     "Document does not exist on the file system."
  135.   134,     "Could not open the requested document."
  136.   135,     "Action failed due to an unknown error."
  137.   136,     "Printing was aborted due to user action or error."
  138.   137,     "Patron Objects"
  139.   138,     "Patron Objects"
  140.   139,     "Metafile"
  141.   140,     "a Metafile"
  142.   141,     "Device-Independent Bitmap"
  143.   142,     "a Device-Independent Bitmap"
  144.   143,     "Bitmap"
  145. }
  146.  
  147. STRINGTABLE
  148. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  149. {
  150.   144,     "a Bitmap"
  151.   145,     "%s Object"
  152.   146,     "%s Object"
  153.   147,     "%s"
  154.   148,     "%s"
  155.   150,     "(Untitled)"
  156.   151,     "%s in %s"
  157. }
  158.  
  159. STRINGTABLE
  160. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  161. {
  162.   1025,     "Ready"
  163.   1026,     "Commands for working with this window"
  164.   1027,     "Change the size of this window"
  165.   1028,     "Move the window to another position"
  166.   1029,     "Reduce this window to an icon"
  167.   1030,     "Enlarge this window to its maximum size"
  168.   1031,     "Switch to the next window"
  169.   1032,     "Switch to the previous window"
  170.   1033,     "Close this window"
  171.   1034,     "Restore this window to its previous size"
  172.   1035,     "Open the Task List"
  173.   1036,     "Commands for working with files"
  174.   1037,     "Create a new, blank document"
  175.   1038,     "Open an existing document"
  176.   1039,     "Close the currently active document"
  177. }
  178.  
  179. STRINGTABLE
  180. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  181. {
  182.   1040,     "Save the currently active document"
  183.   1041,     "Save the currently active document under a new name"
  184.   1042,     "Close the application"
  185.   1043,     "Commands for manipulating data"
  186.   1044,     "."
  187.   1045,     "Move data to the clipboard"
  188.   1046,     "Copy data to the clipboard"
  189.   1047,     "Paste data from the clipboard into the active document"
  190.   1048,     "Commands for working with document windows"
  191.   1049,     "Arrange documents in cascading style"
  192.   1050,     "Tile documents favoring width"
  193.   1051,     "Tile documents favoring height"
  194.   1052,     "Arrange document icons"
  195.   1053,     "Commands for accessing Help"
  196.   1054,     "View author information"
  197.   1055,     "Print the currently active document"
  198. }
  199.  
  200. STRINGTABLE
  201. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  202. {
  203.   1056,     "Select the printer for the currently active document"
  204.   1057,     "Commands for working with document pages"
  205.   1058,     "Insert a new page after the current page"
  206.   1059,     "Delete the current page"
  207.   1060,     "Show the page after the current page"
  208.   1061,     "Show the page before the current page"
  209.   1062,     "Show the first page"
  210.   1063,     "Show the last page"
  211.   1064,     "Paste a selected data format from the clipboard into the active document"
  212.   1065,     "Remove the currently selected object from the page"
  213.   1066,     "Create a new object of a specified type in the page"
  214.   1067,     "Commands to manipulate the selected object"
  215.   1068,     "Changes the type of this object either permanently or temporarily"
  216.   1069,     "Manipulates linked objects on this page (and this page only)"
  217.   1070,     "Frames linked and embedded objects for identification"
  218. }
  219.  
  220.  
  221. 1 ACCELERATORS
  222. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  223. {
  224.     VK_DELETE, 201, SHIFT, VIRTKEY
  225.     VK_INSERT, 202, CONTROL, VIRTKEY
  226.     VK_INSERT, 203, SHIFT, VIRTKEY
  227.     "^X", 201
  228.     "^C", 202
  229.     "^V", 203
  230.     "^N", 500
  231.     "^N", 500
  232.     "^D", 501
  233.     "^D", 501
  234.     VK_NEXT, 502, VIRTKEY
  235.     VK_PRIOR, 503, VIRTKEY
  236.     VK_HOME, 504, CONTROL, VIRTKEY
  237.     VK_END, 505, CONTROL, VIRTKEY
  238.     VK_DELETE, 205, VIRTKEY
  239. }
  240.  
  241.  
  242. 2 ACCELERATORS
  243. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  244. {
  245.     "^N", 500
  246.     "^N", 500
  247.     "^D", 501
  248.     "^D", 501
  249.     VK_NEXT, 502, VIRTKEY
  250.     VK_PRIOR, 503, VIRTKEY
  251.     VK_HOME, 504, CONTROL, VIRTKEY
  252.     VK_END, 505, CONTROL, VIRTKEY
  253.     VK_RETURN, 701, CONTROL, VIRTKEY
  254.     VK_F1, 702, SHIFT, VIRTKEY
  255.     VK_ESCAPE, 703, VIRTKEY
  256. }
  257.  
  258. DLGINCLUDE RCDATA "DLGINCLUDE.bin"
  259.  
  260. 1 RCDATA "RCDATA1_1.bin"
  261.  
  262. ICON ICON "ICON.ico"
  263.  
  264. 1 ICON "ICON1_1.ico"
  265.  
  266.