home *** CD-ROM | disk | FTP | other *** search
/ PC Direkt 1995 March / PCD_395.iso / starview / wntmsci / german / print.sr_ / PRINT.SRC
Encoding:
Text File  |  1994-01-18  |  3.1 KB  |  133 lines

  1. /*******************************************************************
  2. *  PRINT.SRC
  3. *  (c) 1992-1994 STAR DIVISION
  4. *******************************************************************/
  5.  
  6. #include "print.hrc"
  7.  
  8. Menu MENU_APPMENU
  9. {
  10.     ItemList =
  11.     {
  12.         MenuItem
  13.         {
  14.             Text       = "~Printer";
  15.             Identifier = POPUP_PRINTER;
  16.             SubMenu    = Menu
  17.             {
  18.                 ItemList =
  19.                 {
  20.                     MenuItem
  21.                     {
  22.                         Text       = "~Print";
  23.                         Identifier = MI_PRINT;
  24.                     };
  25.                     MenuItem
  26.                     {
  27.                         Text       = "~Setup";
  28.                         Identifier = MI_SETUP;
  29.                     };
  30.                     MenuItem
  31.                     {
  32.                         Separator  = TRUE;
  33.                     };
  34.                     MenuItem
  35.                     {
  36.                         Text       = "~Info";
  37.                         Identifier = MI_INFO;
  38.                     };
  39.                     MenuItem
  40.                     {
  41.                         Separator  = TRUE;
  42.                     };
  43.                     MenuItem
  44.                     {
  45.                         Text       = "Pre~view";
  46.                         Identifier = MI_PREVIEW;
  47.                     };
  48.                     MenuItem
  49.                     {
  50.                         Separator  = TRUE;
  51.                     };
  52.                     MenuItem
  53.                     {
  54.                         Text       = "E~xit";
  55.                         Identifier = MI_EXIT;
  56.                     };
  57.                 };
  58.             };
  59.         };
  60.     };
  61. };
  62.  
  63. ModelessDialog DLG_ABORT
  64. {
  65.     SVLook     = TRUE;
  66.     Size       = MAP_APPFONT( 70, 55 );
  67.     OutputSize = TRUE;
  68.     Text       = "Print";
  69.     Moveable   = TRUE;
  70.     Sizeable   = TRUE;
  71.     Closeable  = TRUE;
  72.     Hide       = TRUE;
  73.  
  74.     FixedText DA_ABORTTEXT
  75.     {
  76.         PosSize = MAP_APPFONT( 10, 10, 50, 15 );
  77.         Text    = "Printing...";
  78.     };
  79.  
  80.     CancelButton DA_ABORT
  81.     {
  82.         PosSize   = MAP_APPFONT( 15, 30, 40, 15 );
  83.         DefButton = TRUE;
  84.     };
  85. };
  86.  
  87. ModalDialog DLG_INFO
  88. {
  89.     SVLook     = TRUE;
  90.     Size       = MAP_APPFONT( 100, 100 );
  91.     OutputSize = TRUE;
  92.     Text       = "Printer Info";
  93.     Moveable   = TRUE;
  94.     Sizeable   = TRUE;
  95.     Closeable  = TRUE;
  96.  
  97.     FixedText DI_PRINTERNAME
  98.     {
  99.         PosSize = MAP_APPFONT( 5, 5, 80, 12 );
  100.     };
  101.  
  102.     FixedText DI_PAPERSIZE
  103.     {
  104.         PosSize = MAP_APPFONT( 5, 20, 80, 12 );
  105.         Text = "PaperSize: ";
  106.     };
  107.  
  108.     FixedText DI_OUTPUTSIZE
  109.     {
  110.         PosSize = MAP_APPFONT( 5, 35, 80, 12 );
  111.         Text = "OutputSize: ";
  112.     };
  113.  
  114.     FixedText DI_PAGEOFFSET
  115.     {
  116.         PosSize = MAP_APPFONT( 5, 50, 80, 12 );
  117.         Text = "PageOffset: ";
  118.     };
  119.  
  120.     FixedText DI_PAPERBINS
  121.     {
  122.         PosSize = MAP_APPFONT( 5, 65, 80, 12 );
  123.         Text    = " Bin(s)";
  124.     };
  125.  
  126.     OKButton DI_OK
  127.     {
  128.         PosSize   = MAP_APPFONT( 25, 80, 40, 15 );
  129.         DefButton = TRUE;
  130.         Tabstop   = TRUE;
  131.     };
  132. };
  133.