home *** CD-ROM | disk | FTP | other *** search
/ swCHIP 1991 January / swCHIP_95-1.bin / utility / gsview13 / src / gvwin.rc < prev    next >
Text File  |  1995-12-09  |  19KB  |  488 lines

  1. /* Copyright (C) 1993, 1994, 1995, Russell Lang.  All rights reserved.
  2.   
  3.   This file is part of GSview.
  4.   
  5.   This program is distributed with NO WARRANTY OF ANY KIND.  No author
  6.   or distributor accepts any responsibility for the consequences of using it,
  7.   or for whether it serves any particular purpose or works at all, unless he
  8.   or she says so in writing.  Refer to the GSview Free Public Licence 
  9.   (the "Licence") for full details.
  10.   
  11.   Every copy of GSview must include a copy of the Licence, normally in a 
  12.   plain ASCII text file named LICENCE.  The Licence grants you the right 
  13.   to copy, modify and redistribute GSview, but only under certain conditions 
  14.   described in the Licence.  Among other things, the Licence requires that 
  15.   the copyright notice and this notice be preserved on all copies.
  16. */
  17.  
  18. /* gvwin.rc */
  19. /* Resources for GSVIEW.EXE, a graphical interface for MS-Windows Ghostscript */
  20.  
  21. #include <windows.h>
  22. #include "gvcrc.h"
  23. #include "gvwin2.rc"    /* language independent resources */
  24.  
  25. #ifndef DS_3DLOOK
  26. #define DS_3DLOOK 0x0004L    /* for Windows 95 look */
  27. #endif
  28.  
  29. gsview_menu MENU
  30. BEGIN
  31.     POPUP "&File"
  32.     BEGIN
  33.         MENUITEM "&Open...\tO", IDM_OPEN
  34.         MENUITEM "&Select File...\tS", IDM_SELECT
  35.         MENUITEM "Save &As...\tA", IDM_SAVEAS
  36.         MENUITEM "&Extract...\tE", IDM_EXTRACT
  37.         MENUITEM "PS to EPS", IDM_PSTOEPS
  38.         MENUITEM "&Close\tC", IDM_CLOSE
  39.         MENUITEM "&Info...\tI", IDM_INFO
  40.         MENUITEM SEPARATOR
  41.         MENUITEM "&Print...\tP", IDM_PRINT
  42.         MENUITEM "Print To &File...\tF", IDM_PRINTTOFILE
  43.         MENUITEM "Print File...", IDM_SPOOL
  44.         MENUITEM SEPARATOR
  45.         MENUITEM "E&xit", IDM_EXIT
  46.     END
  47.     POPUP "&Edit"
  48.     BEGIN
  49.         MENUITEM "&Copy\tCtrl+C", IDM_COPYCLIP
  50.         MENUITEM SEPARATOR
  51.         MENUITEM "&Paste To...", IDM_PASTETO
  52.         MENUITEM "Convert &Bitmap", IDM_CONVERT
  53.         MENUITEM SEPARATOR
  54.         POPUP "&Add EPS Preview"
  55.         BEGIN
  56.             MENUITEM "&Interchange", IDM_MAKEEPSI
  57.             MENUITEM "TIFF 4", IDM_MAKEEPST4
  58.             MENUITEM "&TIFF 5", IDM_MAKEEPST
  59.             MENUITEM "&Windows Metafile", IDM_MAKEEPSW
  60.         END
  61.         POPUP "&Extract EPS"
  62.         BEGIN
  63.             MENUITEM "&PostScript", IDM_EXTRACTPS
  64.             MENUITEM "Pre&view", IDM_EXTRACTPRE
  65.         END
  66.         MENUITEM SEPARATOR
  67.         MENUITEM "&Text Extract...", IDM_TEXTEXTRACT
  68.         MENUITEM "&Find...", IDM_TEXTFIND
  69.         MENUITEM "Find &Next", IDM_TEXTFINDNEXT
  70.     END
  71.     POPUP "O&ptions"
  72.     BEGIN
  73.         MENUITEM "&Ghostscript Command...", IDM_GSCOMMAND
  74. #if !defined(__WIN32__) && defined(GS261)
  75.         POPUP "Ghostscript &Version"
  76.         BEGIN
  77.             MENUITEM "Ghostscript &3.12 or later", IDM_GS3
  78.             MENUITEM "Ghostscript &2.6.1", IDM_GS261
  79.         END
  80. #endif
  81.         MENUITEM "Sounds...", IDM_SOUNDS
  82.         POPUP "&Units"
  83.         BEGIN
  84.             MENUITEM "&pt", IDM_UNITPT
  85.             MENUITEM "&mm", IDM_UNITMM
  86.             MENUITEM "&inch", IDM_UNITINCH
  87.         END
  88.         MENUITEM "Save Settings &Now", IDM_SETTINGS
  89.         MENUITEM SEPARATOR
  90.         MENUITEM "&Save Settings on Exit", IDM_SAVESETTINGS
  91.         MENUITEM "Sa&fer", IDM_SAFER
  92.         MENUITEM "Save Last &Directory", IDM_SAVEDIR
  93.         MENUITEM "&Button Bar", IDM_BUTTONSHOW
  94.         /* MENUITEM "&Fit Window to Page", IDM_FITPAGE */
  95.         MENUITEM "&Quick Open", IDM_QUICK
  96.         MENUITEM "Auto &Redisplay", IDM_AUTOREDISPLAY
  97.         MENUITEM "EPS &Clip", IDM_EPSFCLIP
  98.         MENUITEM "EPS &Warn", IDM_EPSFWARN
  99.         MENUITEM "&Ignore DSC", IDM_IGNOREDSC
  100.     END
  101.     POPUP "&View"
  102.     BEGIN
  103.         MENUITEM "&Next Page\t+", IDM_NEXT
  104.         MENUITEM "Pre&vious Page\t-", IDM_PREV
  105.         MENUITEM "&Goto Page...\tG", IDM_GOTO
  106.         MENUITEM "&Redisplay\tR", IDM_REDISPLAY
  107.     END
  108.     POPUP "&Orientation"
  109.     BEGIN
  110.         MENUITEM "&Portrait", IDM_PORTRAIT
  111.         MENUITEM "&Landscape", IDM_LANDSCAPE
  112.         MENUITEM "&Upside-down", IDM_UPSIDEDOWN
  113.         MENUITEM "&Seascape", IDM_SEASCAPE
  114.         MENUITEM SEPARATOR
  115.         MENUITEM "Swap Landscape", IDM_SWAPLANDSCAPE
  116.     END
  117.     POPUP "&Media"
  118.     BEGIN
  119.         MENUITEM "&Resolution...", IDM_RESOLUTION
  120.         MENUITEM "&Zoom Resolution...", IDM_ZOOMRES
  121.         POPUP "&Depth"
  122.         BEGIN
  123.             MENUITEM "Default", IDM_DEPTHDEF
  124.             MENUITEM "1 bit/pixel (Monochrome)", IDM_DEPTH1
  125.             MENUITEM "4 bit/pixel (VGA)", IDM_DEPTH4
  126.             MENUITEM "8 bit/pixel", IDM_DEPTH8
  127.             MENUITEM "16 bit/pixel", IDM_DEPTH16
  128.             MENUITEM "24 bit/pixel", IDM_DEPTH24
  129.         END
  130.         MENUITEM SEPARATOR
  131.         MENUITEM "Letter", IDM_LETTER
  132.         MENUITEM "Tabloid", IDM_TABLOID
  133.         MENUITEM "Ledger", IDM_LEDGER
  134.         MENUITEM "Legal", IDM_LEGAL
  135.         MENUITEM "Statement", IDM_STATEMENT
  136.         MENUITEM "Executive", IDM_EXECUTIVE
  137.         MENUITEM "A3", IDM_A3
  138.         MENUITEM "A4", IDM_A4
  139.         MENUITEM "A5", IDM_A5
  140.         MENUITEM "B4", IDM_B4
  141.         MENUITEM "B5", IDM_B5
  142.         MENUITEM "Folio", IDM_FOLIO
  143.         MENUITEM "Quarto", IDM_QUARTO
  144.         MENUITEM "10x14", IDM_10X14
  145.         MENUITEM "User Defined...", IDM_USERSIZE
  146.     END
  147.     POPUP "&Help"
  148.     BEGIN
  149.         MENUITEM "&Contents", IDM_HELPCONTENT
  150.         MENUITEM "&Search for Help on...", IDM_HELPSEARCH
  151.         MENUITEM "&Keys Help", IDM_HELPKEYS
  152.         MENUITEM SEPARATOR
  153.         MENUITEM "&About...", IDM_ABOUT
  154.     END
  155. END
  156.  
  157. gsview_accel ACCELERATORS
  158. BEGIN
  159.     "O", IDM_OPEN
  160.     "o", IDM_OPEN
  161.     "C", IDM_CLOSE
  162.     "c", IDM_CLOSE
  163.     "N", IDM_NEXT
  164.     "n", IDM_NEXT
  165.     "+", IDM_NEXT
  166.     "V", IDM_PREV
  167.     "v", IDM_PREV
  168.     "-", IDM_PREV
  169.     "G", IDM_GOTO
  170.     "g", IDM_GOTO
  171.     "I", IDM_INFO
  172.     "i", IDM_INFO
  173.     "R", IDM_REDISPLAY
  174.     "r", IDM_REDISPLAY
  175.     "S", IDM_SELECT
  176.     "s", IDM_SELECT
  177.     "A", IDM_SAVEAS
  178.     "a", IDM_SAVEAS
  179.     "P", IDM_PRINT
  180.     "p", IDM_PRINT
  181.     "F", IDM_PRINTTOFILE
  182.     "f", IDM_PRINTTOFILE
  183.     "E", IDM_EXTRACT
  184.     "e", IDM_EXTRACT
  185.     VK_F1, IDM_HELPCONTENT, VIRTKEY
  186.     "^C", IDM_COPYCLIP
  187.     VK_INSERT, IDM_COPYCLIP, VIRTKEY, CONTROL
  188. END
  189.  
  190.  
  191. STRINGTABLE
  192. BEGIN
  193.     /* general strings */
  194.     IDS_FILTER, "Default (*.ps)|*.ps|EPS Files (*.eps)|*.eps|EPI Files (*.epi)|*.epi|All Files (*.*)|*.*|Bitmap Files (*.bmp)|*.bmp|TIFF Files (*.tif)|*.tif|Windows Metafiles (*.wmf)|*.wmf|Text (*.txt|*.txt|"
  195. #ifdef __WIN32__
  196.     IDS_TITLE, "GSview for Windows 32"
  197. #else
  198.     IDS_TITLE, "GSview for Windows"
  199. #endif
  200.     IDS_HELPFILE, "gsview.hlp"
  201.     IDS_WRONGGS, "Incompatible Windows Ghostscript Program"
  202.     IDS_BUSY, "GSview is busy.\nClear busy state?"
  203. END
  204.  
  205. STRINGTABLE
  206. BEGIN
  207.     IDS_FILE, "File: "
  208.     IDS_NOFILE, "No File"
  209.     IDS_PAGE, "Page: "
  210.     IDS_NOPAGE, "No page numbering available"
  211.     IDS_LANDSCAPE, "Landscape"
  212.     IDS_PORTRAIT, "Portrait"
  213.     IDS_ASCEND, "Ascending"
  214.     IDS_DESCEND, "Descending"
  215.     IDS_SPECIAL, "Special"
  216.     IDS_EPSF, "EPS"
  217.     IDS_EPSI, "EPS with Interchange Preview"
  218.     IDS_EPST, "EPS with TIFF Preview"
  219.     IDS_EPSW, "EPS with Metafile Preview"
  220.     IDS_DSC, "DSC"
  221.     IDS_NOTDSC, "No DSC comments"
  222.     IDS_PDF, "Portable Document Format"
  223.     IDS_IGNOREDSC, "Ignoring DSC comments"
  224.     IDS_PAGEINFO, "Page: \"%s\"  %d of %d"
  225. END
  226.  
  227. STRINGTABLE
  228. BEGIN
  229.     IDS_OUTPUTFILE, "Output Filename"
  230.     IDS_PRINTINGALL, "No DSC comments\nPrinting all pages"
  231.     IDS_PRINTFILE, "Print File"
  232.     IDS_NOSPOOL, "Print Manager is disabled\nEnable it now ?"
  233.     IDS_SELECTPAGE, "Select Page"
  234.     IDS_SELECTPAGES, "Select Pages"
  235.     IDS_TIMEOUT, "Timeout waiting for Ghostscript"
  236.     IDS_NOTIMER, "No Timer available"
  237.     IDS_NOTOPEN, "No document open"
  238.     IDS_CANNOTRUN, "Can't run "
  239.     IDS_TOOLONG, "Command line too long: "
  240.     IDS_NOMORE, "No more pages"
  241.     IDS_GSCOMMAND, "Ghostscript command ?"
  242.     IDS_RES, "Display resolution (dpi) ?"
  243.     IDS_ZOOMRES, "Zoom resolution (dpi) ?"
  244.     IDS_NOZOOM, "Must display page before zooming"
  245.     IDS_USERWIDTH, "Width in 1/72 inch units ?"
  246.     IDS_USERHEIGHT, "Height in 1/72 inch units ?"
  247.     IDS_BADEPS, "Problem making EPS file"
  248.     IDS_NOPREVIEW, "Not a DOS EPS file or\nNo binary preview"
  249.     IDS_NOTDFNAME, "Can't use same name as open document"
  250.     IDS_PIPE_EOPEN, "Pipe error.  Couldn't open temporary file.\nDirectory may be Read Only.\nTEMP environment variable may not set."
  251.     IDS_PIPE_EMEM, "Pipe error. Couldn't allocate memory."
  252.     IDS_CANCELDONE, "%d%% done"
  253.     IDS_BADCLI, "Bad command line option: %s"
  254.     IDS_TEXTFIND, "Find text ?"
  255.     IDS_TEXTNOTFIND, "Text not found"
  256. END
  257.  
  258. STRINGTABLE
  259. BEGIN
  260.     /* sound type types*/
  261.     IDS_SOUNDNAME, "Sound File"
  262.     IDS_SNDPAGE, "Output Page"
  263.     IDS_SNDNOPAGE, "No Page"
  264.     IDS_SNDNONUMBER, "No Numbering"
  265.     IDS_SNDNOTOPEN, "Not Open"
  266.     IDS_SNDERROR, "Error"
  267.     IDS_SNDTIMEOUT,    "Timeout"
  268.     IDS_SNDSTART, "Start"
  269.     IDS_SNDEXIT, "Exit"
  270.     IDS_SOUNDNOMM, "Can't load MMSYSTEM.DLL\nSounds will be unavailable"
  271.     IDS_NONE, "<None>"
  272.     IDS_SPKR, "<Speaker Beep>"
  273. END
  274.  
  275. STRINGTABLE
  276. BEGIN
  277.     /* help topics - these need to match keywords in gsview.doc */
  278.     IDS_TOPICROOT,  "Overview"
  279.     IDS_TOPICOPEN,  "Open"
  280.     IDS_TOPICPRINT, "Print"
  281.     IDS_TOPICEDIT, "Edit"
  282.     IDS_TOPICGSCMD, "Ghostscript Command"
  283.     IDS_TOPICSOUND, "Sounds"
  284.     IDS_TOPICMEDIA, "Media"
  285.     IDS_TOPICPSTOEPS, "PS to EPS"
  286.     IDS_TOPICGOTO, "Page Selection"
  287.     IDS_TOPICINSTALL, "Installation"
  288.     IDS_TOPICTEXT, "Text Extract and Find"
  289.     IDS_TOPICKEYS, "Keys"
  290. END
  291.  
  292. STRINGTABLE
  293. BEGIN
  294.     IDS_BBPROMPT,  "Click at left"
  295.     IDS_BBPROMPT1, "Click at bottom"
  296.     IDS_BBPROMPT2, "Click at right"
  297.     IDS_BBPROMPT3, "Click at top"
  298.     IDS_EPSONEPAGE, "An EPS file must be a single page document.\nSee help on 'PS to EPS'"
  299.     IDS_EPSQPAGES, "Is this a single page document ?"
  300.     IDS_EPSNOBBOX, "Could not obtain Bounding Box"
  301.     IDS_EPSREAD, "Have you read help `PS to EPS` ?"
  302. END
  303.  
  304. STRINGTABLE
  305. BEGIN
  306.     /* wait messages */
  307.     IDS_WAIT, "Wait"
  308.     IDS_WAITREAD,  "Reading..."
  309.     IDS_WAITWRITE,  "Writing..."
  310.     IDS_WAITDRAW, "Drawing..."
  311.     IDS_WAITGSOPEN, "Opening Ghostscript..."
  312.     IDS_WAITGSCLOSE,  "Closing Ghostscript..."
  313.     IDS_WAITPRINT,  "Printing..."
  314.     IDS_WAITSEARCH,  "Searching..."
  315. END
  316.  
  317. STRINGTABLE
  318. BEGIN
  319.     /* filter strings */
  320.     IDS_FILTER_PSALL, "Default (*.ps;*.eps;*.epi)|*.ps;*.eps;*.epi|PS Files (*.ps)|*.ps|EPS Files (*.eps)|*.eps|EPI Files (*.epi)|*.epi|All Files (*.*)|*.*|"
  321.     IDS_FILTER_PS, "Default (*.ps)|*.ps|EPS Files (*.eps)|*.eps|EPI Files (*.epi)|*.epi|All Files (*.*)|*.*|"
  322.     IDS_FILTER_EPS, "EPS Files (*.eps)|*.eps|EPI Files (*.epi)|*.epi|PS Files (*.ps)|*.ps|All Files (*.*)|*.*|"
  323.     IDS_FILTER_EPI, "EPI Files (*.epi)|*.epi|EPS Files (*.eps)|*.eps|PS Files (*.ps)|*.ps|All Files (*.*)|*.*|"
  324.     IDS_FILTER_ALL, "All Files (*.*)|*.*|"
  325.     IDS_FILTER_BMP, "Bitmap Files (*.bmp)|*.bmp|All Files (*.*)|*.*|"
  326.     IDS_FILTER_TIFF, "TIFF Files (*.tif)|*.tif|All Files (*.*)|*.*|"
  327.     IDS_FILTER_WMF, "Windows Metafiles (*.wmf)|*.wmf|All Files (*.*)|*.*|"
  328.     IDS_FILTER_TXT, "Text Files (*.txt)|*.txt|All Files (*.*)|*.*|"
  329. END
  330.  
  331. AboutDlgBox DIALOG 20, 32, 256, 164
  332. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  333. CAPTION "About GSview for Windows"
  334. Font 8, "Helv"
  335. BEGIN
  336.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 218, 5, 32, 14
  337. #ifdef __WIN32__
  338.     LTEXT "GSVIEW32.EXE", -1, 32, 8, 64, 8
  339. #else
  340.     LTEXT "GSVIEW.EXE", -1, 32, 8, 64, 8
  341. #endif
  342.     RTEXT "Version:", -1, 86, 8, 32, 8
  343.     LTEXT "", ABOUT_VERSION, 120, 8, 96, 8
  344.     LTEXT "A Ghostscript graphical interface", -1, 32, 16, 128, 8
  345.     LTEXT "Copyright (C) 1993, 1994, 1995, Russell Lang.  All rights reserved.", -1, 8, 28, 240, 8
  346.     LTEXT "Portions Copyright (C) 1994, Timothy O. Theisen.  All rights reserved.", -1, 8, 36, 240, 8
  347.     LTEXT "This program is distributed with NO WARRANTY OF ANY KIND.", -1, 7, 48, 240, 8
  348.     LTEXT "No author or distributor accepts any responsibility for the", -1, 7, 56, 240, 8
  349.     LTEXT "consequences of using it, or for whether it serves any particular", -1, 7, 64, 240, 8
  350.     LTEXT "purpose or works at all, unless he or she says so in writing.  Refer", -1, 7, 72, 240, 8
  351.     LTEXT "to the GSview Free Public Licence (the 'Licence') for full details.", -1, 7, 84, 240, 8
  352.     LTEXT "Every copy of GSview must include a copy of the Licence, normally", -1, 7, 92, 240, 8
  353.     LTEXT "in a plain ASCII text file named LICENCE.  The Licence grants you", -1, 7, 100, 240, 8
  354.     LTEXT "the right to copy, modify and redistribute GSview, but only under", -1, 7, 108, 240, 8
  355.     LTEXT "certain conditions described in the Licence.  Among other things,", -1, 7, 116, 240, 8
  356.     LTEXT "the Licence requires that the copyright notice and this notice be", -1, 7, 124, 240, 8
  357.     LTEXT "preserved on all copies.", -1, 7, 132, 240, 8
  358.     LTEXT "Author: Russell Lang  (rjl@aladdin.com)", -1, 8, 146, 240, 8
  359.     ICON ID_GSVIEW, ABOUT_ICON, 8, 8, 0, 0
  360. END
  361.  
  362. InputDlgBox DIALOG 48, 32, 192, 56
  363. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  364. CAPTION "Input"
  365. Font 8, "Helv"
  366. BEGIN
  367.     LTEXT "", ID_PROMPT, 6, 6, 180, 10
  368.     CONTROL "", ID_ANSWER, "edit", ES_LEFT | ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP | WS_CHILD, 6, 18, 180, 12
  369.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 23, 36, 32, 14
  370.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 83, 36, 32, 14
  371.     CONTROL "&Help", ID_HELP, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 143, 36, 32, 14
  372. END
  373.  
  374. InfoDlgBox DIALOG 20, 32, 175, 107
  375. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  376. CAPTION "Info"
  377. Font 8, "Helv"
  378. BEGIN
  379.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 136, 89, 32, 14
  380.     RTEXT "File:", -1, 24, 8, 32, 8
  381.     LTEXT "", INFO_FILE, 60, 8, 110, 8
  382.     RTEXT "Type:", -1, 24, 16, 32, 8
  383.     LTEXT "", INFO_TYPE, 60, 16, 110, 8
  384.     RTEXT "Title:", -1, 24, 24, 32, 8
  385.     LTEXT "", INFO_TITLE, 60, 24, 110, 8
  386.     RTEXT "Date:", -1, 24, 32, 32, 8
  387.     LTEXT "", INFO_DATE, 60, 32, 110, 8
  388.     RTEXT "BoundingBox:", -1, 8, 40, 48, 8
  389.     LTEXT "", INFO_BBOX, 60, 40, 80, 8
  390.     RTEXT "Orientation:", -1, 8, 48, 48, 8
  391.     LTEXT "", INFO_ORIENT, 60, 48, 60, 8
  392.     RTEXT "Default Media:", -1, 8, 64, 48, 8
  393.     LTEXT "", INFO_DEFMEDIA, 60, 64, 60, 8
  394.     RTEXT "Page Order:", -1, 8, 56, 48, 8
  395.     LTEXT "", INFO_ORDER, 60, 56, 60, 8
  396.     RTEXT "Pages:", -1, 8, 72, 48, 8
  397.     LTEXT "", INFO_NUMPAGES, 60, 72, 60, 8
  398.     RTEXT "Page:", -1, 8, 80, 48, 8
  399.     LTEXT "", INFO_PAGE, 60, 80, 60, 8
  400.     RTEXT "Bitmap:", -1, 8, 92, 48, 8, SS_RIGHT | WS_CHILD | WS_VISIBLE | WS_GROUP
  401.     LTEXT "", INFO_BITMAP, 60, 92, 60, 8
  402.     ICON ID_GSVIEW, INFO_ICON, 8, 8, 0, 0
  403. END
  404.  
  405. SoundDlgBox DIALOG 16, 40, 204, 94
  406. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  407. CAPTION "Sounds"
  408. Font 8, "Helv"
  409. BEGIN
  410.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 12, 32, 14
  411.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 32, 32, 14
  412.     CONTROL "&Test", SOUND_TEST, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 164, 52, 32, 14
  413.     CONTROL "&Help", ID_HELP, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 164, 72, 32, 14
  414.     LTEXT "Event:", -1, 8, 4, 32, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  415.     CONTROL "", SOUND_EVENT, "LISTBOX", LBS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 16, 70, 64
  416.     LTEXT "Sound:", -1, 90, 4, 33, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  417.     CONTROL "", SOUND_FILE, "LISTBOX", LBS_STANDARD | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 90, 16, 64, 64
  418.     LTEXT "", SOUND_PATH, 90, 83, 70, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  419. END
  420.  
  421. SpoolDlgBox DIALOG 32, 40, 110, 63
  422. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  423. CAPTION "Select Printer Port"
  424. Font 8, "Helv"
  425. BEGIN
  426.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 72, 14, 32, 14
  427.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 72, 36, 32, 14
  428.     CONTROL "", SPOOL_PORT, "LISTBOX", LBS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 8, 56, 50
  429. END
  430.  
  431. CancelDlgBox DIALOG 32, 40, 120, 48
  432. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | DS_3DLOOK
  433. Font 8, "Helv"
  434. BEGIN
  435.     CTEXT "Printing", -1, 8, 4, 104, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  436.     CTEXT "", CANCEL_PCDONE, 8, 16, 104, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  437.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 44, 30, 32, 14
  438. END
  439.  
  440. PageDlgBox DIALOG 64, 32, 80, 142
  441. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  442. Font 8, "Helv"
  443. BEGIN
  444.     CONTROL "", PAGE_LIST, "LISTBOX", LBS_NOTIFY | LBS_MULTIPLESEL | LBS_EXTENDEDSEL | LBS_DISABLENOSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 8, 28, 128
  445.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 8, 32, 14
  446.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 32, 32, 14
  447.     CONTROL "&All", PAGE_ALL, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 64, 32, 14
  448.     CONTROL "O&dd", PAGE_ODD, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 88, 32, 14
  449.     CONTROL "&Even", PAGE_EVEN, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 44, 112, 32, 14
  450. END
  451.  
  452. DeviceDlgBox DIALOG 16, 40, 212, 94
  453. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  454. CAPTION "Select Device"
  455. Font 8, "Helv"
  456. BEGIN
  457.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 12, 40, 14
  458.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 32, 40, 14
  459.     CONTROL "&Properties", DEVICE_PROP, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 52, 40, 14
  460.     CONTROL "&Help", ID_HELP, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 164, 72, 40, 14
  461.     LTEXT "Device:", -1, 8, 4, 48, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  462.     CONTROL "", DEVICE_NAME, "COMBOBOX", CBS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 16, 70, 70
  463.     LTEXT "Resolution:", DEVICE_RESTEXT, 90, 4, 48, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  464.     CONTROL "", DEVICE_RES, "COMBOBOX", CBS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 90, 16, 64, 70
  465. END
  466.  
  467. PropDlgBox DIALOG 16, 40, 204, 94
  468. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK
  469. CAPTION "Edit Properties"
  470. Font 8, "Helv"
  471. BEGIN
  472.     CONTROL "&Ok", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 12, 32, 14
  473.     CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 164, 32, 32, 14
  474.     CONTROL "&Help", ID_HELP, "button", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_GROUP | WS_TABSTOP, 164, 72, 32, 14
  475.     LTEXT "Property:", -1, 8, 4, 48, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  476.     CONTROL "", PROP_NAME, "COMBOBOX", CBS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 16, 70, 70
  477.     LTEXT "Value:", -1, 90, 4, 48, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  478.     CONTROL "", PROP_VALUE, "COMBOBOX", CBS_SIMPLE | WS_CHILD | WS_VISIBLE | WS_VSCROLL | WS_TABSTOP, 90, 16, 64, 70
  479. END
  480.  
  481. BoundingBoxDlgBox DIALOG 12, 24, 120, 15
  482. STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | WS_EX_TOPMOST | DS_3DLOOK
  483. CAPTION "BoundingBox"
  484. Font 8, "Helv"
  485. BEGIN
  486.     CTEXT "", BB_PROMPT, 4, 4, 112, 8, WS_CHILD | WS_VISIBLE | WS_GROUP
  487. END
  488.