1/* Copyright (C) 1996, 1998 Russell Lang. All rights reserved. 2 3 This software is provided AS-IS with no warranty, either express or 4 implied. 5 6 This software is distributed under license and may not be copied, 7 modified or distributed except as expressly authorized under the terms 8 of the license contained in the file LICENSE in this distribution. 9 10 For more information about licensing, please refer to 11 http://www.ghostscript.com/licensing/. For information on 12 commercial licensing, go to http://www.artifex.com/licensing/ or 13 contact Artifex Software, Inc., 101 Lucas Valley Road #110, 14 San Rafael, CA 94903, U.S.A., +1(415)492-9861. 15*/ 16 17 18/* $Id: gsdll32.rc,v 1.6 2002/12/18 17:30:10 alexcher Exp $*/ 19 20#include <windows.h> 21#include "gp_mswin.h" 22 23#ifndef gstext_ico 24#define gstext_ico gswin.ico 25#endif 26#ifndef gsgraph_ico 27#define gsgraph_ico gswin.ico 28#endif 29 30GSTEXT_ICON ICON gstext_ico 31GSIMAGE_ICON ICON gsgraph_ico 32 33#ifndef DS_3DLOOK 34#define DS_3DLOOK 0x0004L /* for Windows 95 look */ 35#endif 36 37SpoolDlgBox DIALOG 32, 40, 110, 63 38STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | DS_3DLOOK 39CAPTION "Select Printer Port" 40BEGIN 41 CONTROL "&OK", IDOK, "button", BS_DEFPUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 72, 14, 32, 14 42 CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 72, 36, 32, 14 43 CONTROL "", SPOOL_PORT, "LISTBOX", LBS_NOTIFY | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_VSCROLL | WS_TABSTOP, 8, 8, 56, 50 44END 45 46CancelDlgBox DIALOG 32, 40, 120, 48 47STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_VISIBLE | DS_3DLOOK 48BEGIN 49 CTEXT "Printing", -1, 8, 4, 104, 8, WS_CHILD | WS_VISIBLE | WS_GROUP 50 CTEXT "", CANCEL_PCDONE, 8, 16, 104, 8, WS_CHILD | WS_VISIBLE | WS_GROUP 51 CONTROL "&Cancel", IDCANCEL, "button", BS_PUSHBUTTON | WS_GROUP | WS_TABSTOP | WS_CHILD, 44, 30, 32, 14 52END 53