/*
 * EX14WIN.RC
 *
 *  Header file for ArchiveLib 2.0
 *
 *  Copyright (c) Greenleaf Software, Inc. 1994 - 1996
 *  All Rights Reserved
 *
 * DESCRIPTION
 *
 *  This is the RC file used by Windows example program 14.  It
 *  has all of the constants defined for use in the RC file that
 *  is linked with this example.  Note that the exact same RC
 *  is used by both the C++ and C example programs.
 *
 * REVISION HISTORY
 *
 *  February 1, 1996 2.0A  : Second release
 *
 */

#ifndef WS_POPUP
#include <windows.h>
#endif
#include "ex14win.h"

//////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

ALMainDialog DIALOG 1, 0, 323, 184
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
{
 PUSHBUTTON "Read Dir", AL_READ_DIR, 8, 162, 50, 12
 PUSHBUTTON "Compress", AL_COMPRESS, 100, 162, 42, 12
 PUSHBUTTON "About", AL_ABOUT, 184, 162, 42, 12
 PUSHBUTTON "E&xit", AL_EXIT, 268, 162, 42, 12
 CONTROL "Raw Compress", AL_RAW_COMPRESS, "BUTTON", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 116, 37, 60, 12
 CONTROL "Compressed Object", AL_COMPRESSED_OBJECT, "BUTTON", BS_AUTORADIOBUTTON | WS_TABSTOP, 116, 60, 80, 12
 CONTROL "Archive", AL_ARCHIVE, "BUTTON", BS_AUTORADIOBUTTON | WS_TABSTOP, 116, 83, 60, 12
 CONTROL "Copy Engine", AL_COPY_ENGINE, "BUTTON", BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP, 220, 33, 60, 12
 CONTROL "Greenleaf Engine", AL_GREENLEAF_ENGINE, "BUTTON", BS_AUTORADIOBUTTON | WS_TABSTOP, 220, 48, 80, 12
 CONTROL "PK Engine", AL_DEFLATE_ENGINE, "BUTTON", BS_AUTORADIOBUTTON | WS_TABSTOP, 220, 63, 80, 12
 EDITTEXT AL_DIR_MASK, 46, 91, 53, 12, WS_BORDER | WS_TABSTOP
 LISTBOX AL_INPUT_FILES, 15, 21, 83, 65, LBS_SORT | LBS_EXTENDEDSEL | WS_VSCROLL
 LTEXT "&Dir mask:", IDC_STATIC, 11, 92, 34, 11
 CTEXT "Windows Example 14: Compress a file to a memory object", IDC_STATIC, 9, 4, 200, 11
 GROUPBOX "Compression Destination", IDC_GROUPBOX1, 105, 19, 96, 85, BS_GROUPBOX
 CONTROL "", AL_PROGRESS_BAR, "ALGauge", 0 | WS_CHILD | WS_VISIBLE, 215, 92, 88, 11
 GROUPBOX "Compression Type", IDC_GROUPBOX2, 213, 19, 96, 61, BS_GROUPBOX
 RTEXT "Engine Type (int):", -1, 14, 113, 62, 12
 RTEXT "Engine Type (string):", -1, 7, 136, 69, 12
 EDITTEXT AL_ENGINE_TYPE_INT, 89, 112, 68, 14, ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 EDITTEXT AL_ENGINE_TYPE_STRING, 89, 135, 68, 14, ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 RTEXT "Engine Status (int):", -1, 169, 113, 66, 12
 RTEXT "Engine Status Detail:", -1, 167, 136, 69, 12
 EDITTEXT AL_ENGINE_STATUS_INT, 240, 112, 74, 14, ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 EDITTEXT AL_ENGINE_STATUS_DETAIL, 240, 135, 74, 14, ES_READONLY | NOT WS_TABSTOP | WS_BORDER
}

ALAboutDialog DIALOG 0, 0, 145, 70
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Dialog"
FONT 8, "MS Sans Serif"
{
 DEFPUSHBUTTON "OK", IDOK, 47,51,50,14
 ICON "ALICON", IDC_STATIC, 6,6,18,20
 CTEXT "Greenleaf Archive Library 2.0", IDC_STATIC, 31,10,103,12
 CTEXT "Copyright (c) 1994-1996", IDC_STATIC, 39, 23, 89, 12
}

//////////////////////////////////////////////////////////////////////////////
//
// Icon
//

ALIcon ICON "alicon.ico"

//////////////////////////////////////////////////////////////////////////////
//
// Menu
//

ALMenu MENU
{
 POPUP "&File"
 {
  MENUITEM "E&xit", AL_EXIT
 }

 POPUP "&Help"
 {
  MENUITEM "&About", AL_ABOUT
 }
}