home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / OWLINC.PAK / PRINTER.RC < prev    next >
Text File  |  1995-08-29  |  2KB  |  45 lines

  1. //----------------------------------------------------------------------------
  2. // ObjectWindows
  3. // (C) Copyright 1992, 1994 by Borland International, All Rights Reserved
  4. //
  5. //   Resources to use with TPrinter and TPrintout.
  6. //----------------------------------------------------------------------------
  7.  
  8. #include <owl/printer.rh>
  9.  
  10. #if defined(RC_INVOKED)
  11.  
  12. #if !defined(NO_IDD_ABORTDIALOG) && !defined(__IDD_ABORTDIALOG)
  13. #define __IDD_ABORTDIALOG
  14. IDD_ABORTDIALOG DIALOG 84, 51, 130, 60
  15. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  16. CAPTION "Printing"
  17. {
  18.   PUSHBUTTON "Cancel", IDCANCEL, 46, 40, 40, 14, WS_TABSTOP
  19.   CTEXT "Now printing", -1, 0, 8, 130, 8
  20.   CTEXT "Now printing Page %d of", ID_PAGE, 0, 8, 130, 8, SS_CENTER | NOT WS_VISIBLE | WS_GROUP
  21.   CTEXT "'%s' on the", ID_TITLE, 0, 16, 130, 8
  22.   CTEXT "", ID_PORT, 0, 24, 130, 8, SS_CENTER | NOT WS_VISIBLE | WS_GROUP
  23.   CTEXT "%s on %s", ID_DEVICE, 0, 24, 130, 8
  24. }
  25. #endif
  26. #undef NO_DR_ABORTDIALOG
  27.  
  28. #if !defined(NO_IDS_PRINTER) && !defined(__IDS_PRINTER)
  29. #define __IDS_PRINTER
  30. STRINGTABLE LOADONCALL MOVEABLE DISCARDABLE
  31. {
  32.   IDS_PRNON,            " on "
  33.   IDS_PRNERRORTEMPLATE, "'%s' not printed. %s."
  34.   IDS_PRNOUTOFMEMORY,   "Out of memory"
  35.   IDS_PRNOUTOFDISK,     "Out of disk space"
  36.   IDS_PRNCANCEL,        "Printing canceled"
  37.   IDS_PRNMGRABORT,      "Printing aborted in Print Manager"
  38.   IDS_PRNGENERROR,      "Error encountered during print"
  39.   IDS_PRNERRORCAPTION,  "Print Error"
  40. }
  41. #endif
  42. #undef NO_IDS_PRINTER
  43.  
  44. #endif  // defined(RC_INVOKED)
  45.