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 / chap01 / patron / patron.res / patron.rc < prev    next >
Text (UTF-16)  |  1998-03-30  |  12KB  |  196 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.   }
  31.   POPUP "&Page"
  32.   {
  33.     MENUITEM "&New Page\tCtrl+N",  500
  34.     MENUITEM "&Delete Page\tCtrl+D",  501
  35.     MENUITEM SEPARATOR
  36.     MENUITEM "Nex&t Page\tPage Down",  502
  37.     MENUITEM "&Previous Page\tPage Up",  503
  38.     MENUITEM SEPARATOR
  39.     MENUITEM "&First Page\tCtrl+Home",  504
  40.     MENUITEM "&Last Page\tCtrl+End",  505
  41.   }
  42.   POPUP "&Window"
  43.   {
  44.     MENUITEM "&Cascade",  300
  45.     MENUITEM "Tile &Horizontally",  301
  46.     MENUITEM "&Tile Vertically",  302
  47.     MENUITEM "Arrange &Icons",  303
  48.   }
  49.   POPUP "&Help"
  50.   {
  51.     MENUITEM "&About Patron...",  400
  52.   }
  53. }
  54.  
  55. 1 DIALOG 11, 22, 177, 96
  56. STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  57. CAPTION "About..."
  58. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  59. FONT 8, "Helv"
  60. {
  61.    CONTROL "Icon", 93, STATIC, SS_ICON | WS_CHILD | WS_VISIBLE, 9, 6, 18, 20 
  62.    CONTROL "Patron", 94, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 38, 4, 100, 9 
  63.    CONTROL "Inside OLE, Chapter 1", 95, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 38, 14, 100, 9 
  64.    CONTROL "Copyright \xA91994-1995 Microsoft Corp.", 96, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 38, 24, 125, 9 
  65.    CONTROL "Kraig Brockschmidt, Microsoft", 97, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 39, 38, 128, 9 
  66.    CONTROL "Internet:  kraigb@microsoft.com", 98, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 39, 49, 133, 10 
  67.    CONTROL "CIS:  INTERNET>kraigb@microsoft.com", 99, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 39, 60, 137, 10 
  68.    CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 69, 75, 42, 15 
  69. }
  70.  
  71. 2 DIALOG 10, 20, 128, 60
  72. STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  73. CAPTION "Patron"
  74. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  75. FONT 8, "MS Sans Serif"
  76. {
  77.    CONTROL "Cancel", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 44, 42, 40, 14 
  78.    CONTROL "Currently printing", 99, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 2, 116, 10 
  79.    CONTROL "Page 1 of 1", 101, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 14, 116, 10 
  80.    CONTROL "Copy 1 of 1", 102, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 26, 116, 10 
  81.    CONTROL "Page %d of %d", 104, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 65516, 116, 10 
  82.    CONTROL "Copy %d of %d", 103, STATIC, SS_CENTER | WS_CHILD | WS_VISIBLE | WS_GROUP, 6, 65516, 116, 10 
  83. }
  84.  
  85. STRINGTABLE
  86. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  87. {
  88.   0,     "Patron Chapter 1"
  89.   1,     "(Untitled)"
  90.   2,     "%s has been modified.\nDo you wish to save it?"
  91.   3,     "PTN"
  92.   4,     ".PTN"
  93.   5,     "Patron Pages (*.ptn)|*.ptn|"
  94.   6,     "Patron (*.ptn)|*.ptn|"
  95.   7,     "File Open"
  96.   8,     "File Save As"
  97. }
  98.  
  99. STRINGTABLE
  100. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  101. {
  102.   128,     "Patron Objects"
  103.   129,     "Document Error"
  104.   130,     "File data is not valid."
  105.   131,     "Could not read the requested document."
  106.   132,     "Could not write to the specified document."
  107.   133,     "Document does not exist on the file system."
  108.   134,     "Could not open the requested document."
  109.   135,     "Action failed due to an unknown error."
  110.   136,     "Printing was aborted due to user action or error."
  111.   137,     "Patron Objects"
  112. }
  113.  
  114. STRINGTABLE
  115. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  116. {
  117.   1025,     "Ready"
  118.   1026,     "Commands for working with this window"
  119.   1027,     "Change the size of this window"
  120.   1028,     "Move the window to another position"
  121.   1029,     "Reduce this window to an icon"
  122.   1030,     "Enlarge this window to its maximum size"
  123.   1031,     "Switch to the next window"
  124.   1032,     "Switch to the previous window"
  125.   1033,     "Close this window"
  126.   1034,     "Restore this window to its previous size"
  127.   1035,     "Open the Task List"
  128.   1036,     "Commands for working with files"
  129.   1037,     "Create a new, blank document"
  130.   1038,     "Open an existing document"
  131.   1039,     "Close the currently active document"
  132. }
  133.  
  134. STRINGTABLE
  135. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  136. {
  137.   1040,     "Save the currently active document"
  138.   1041,     "Save the currently active document under a new name"
  139.   1042,     "Close the application"
  140.   1043,     "Commands for manipulating data"
  141.   1044,     "."
  142.   1045,     "Move data to the clipboard"
  143.   1046,     "Copy data to the clipboard"
  144.   1047,     "Paste data from the clipboard into the active document"
  145.   1048,     "Commands for working with document windows"
  146.   1049,     "Arrange documents in cascading style"
  147.   1050,     "Tile documents favoring width"
  148.   1051,     "Tile documents favoring height"
  149.   1052,     "Arrange document icons"
  150.   1053,     "Commands for accessing Help"
  151.   1054,     "View author information"
  152.   1055,     "Print the currently active document"
  153. }
  154.  
  155. STRINGTABLE
  156. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  157. {
  158.   1056,     "Select the printer for the currently active document"
  159.   1057,     "Commands for working with document pages"
  160.   1058,     "Insert a new page after the current page"
  161.   1059,     "Delete the current page"
  162.   1060,     "Show the page after the current page"
  163.   1061,     "Show the page before the current page"
  164.   1062,     "Show the first page"
  165.   1063,     "Show the last page"
  166. }
  167.  
  168.  
  169. 1 ACCELERATORS
  170. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  171. {
  172.     VK_DELETE, 201, SHIFT, VIRTKEY
  173.     VK_INSERT, 202, CONTROL, VIRTKEY
  174.     VK_INSERT, 203, SHIFT, VIRTKEY
  175.     "^X", 201
  176.     "^C", 202
  177.     "^V", 203
  178.     "^N", 500
  179.     "^N", 500
  180.     "^D", 501
  181.     "^D", 501
  182.     VK_NEXT, 502, VIRTKEY
  183.     VK_PRIOR, 503, VIRTKEY
  184.     VK_HOME, 504, CONTROL, VIRTKEY
  185.     VK_END, 505, CONTROL, VIRTKEY
  186. }
  187.  
  188. DLGINCLUDE RCDATA "DLGINCLUDE.bin"
  189.  
  190. 1 RCDATA "RCDATA1_1.bin"
  191.  
  192. ICON ICON "ICON.ico"
  193.  
  194. 1 ICON "ICON1_1.ico"
  195.  
  196.