107 lines
3.2 KiB
Plaintext
Executable File
107 lines
3.2 KiB
Plaintext
Executable File
/*
|
|
* EX02WIN.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 02. 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 "ex02win.h"
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Dialog
|
|
//
|
|
|
|
ALMAINDIALOG DIALOG DISCARDABLE 0, 0, 280, 245
|
|
STYLE WS_CHILD
|
|
FONT 8, "MS Sans Serif"
|
|
BEGIN
|
|
EDITTEXT AL_INPUT,39,142,77,12
|
|
PUSHBUTTON "Read Archive",AL_READ_INPUT,43,161,56,12
|
|
EDITTEXT AL_OUTPUT,177,142,77,12
|
|
PUSHBUTTON "Read Archive",AL_READ_OUTPUT,187,161,56,12
|
|
PUSHBUTTON "&Copy",AL_COPY,120,38,42,12
|
|
PUSHBUTTON "Append",AL_APPEND,120,63,42,12
|
|
PUSHBUTTON "&Abort",AL_ABORT,120,88,42,12
|
|
PUSHBUTTON "E&xit",AL_EXIT,120,113,42,12
|
|
LTEXT "&Input:",IDC_STATIC,6,144,27,11
|
|
CONTROL "",AL_PROGRESS_BAR,"ALGauge",0x0,14,207,118,12
|
|
CTEXT "Progress Text Window",AL_PROGRESS_TEXT,14,186,118,11
|
|
LISTBOX AL_INPUT_LIST,22,36,87,89,LBS_MULTIPLESEL |
|
|
LBS_EXTENDEDSEL | WS_VSCROLL
|
|
LISTBOX AL_OUTPUT_LIST,171,36,87,89,WS_VSCROLL
|
|
LTEXT "&Output:",IDC_STATIC,136,144,30,9
|
|
EDITTEXT AL_DEBUG,152,178,124,63,ES_MULTILINE | ES_AUTOVSCROLL |
|
|
ES_AUTOHSCROLL | WS_VSCROLL | WS_HSCROLL | NOT
|
|
WS_TABSTOP
|
|
CTEXT "Select an input archive, an output archive, select files, then Copy or Append",
|
|
IDC_STATIC,11,17,259,12
|
|
CTEXT "Windows Example 02: Copying compressed data to a new archive",
|
|
IDC_STATIC,11,5,259,12
|
|
END
|
|
|
|
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, 42, 23, 82, 12
|
|
}
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Icon
|
|
//
|
|
|
|
ALICON ICON DISCARDABLE "ALICON.ICO"
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Menu
|
|
//
|
|
|
|
ALMENU MENU DISCARDABLE
|
|
BEGIN
|
|
POPUP "&File"
|
|
BEGIN
|
|
MENUITEM "E&xit", AL_EXIT
|
|
END
|
|
POPUP "&Help"
|
|
BEGIN
|
|
MENUITEM "&About", AL_ABOUT
|
|
END
|
|
END
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Accelerator
|
|
//
|
|
|
|
ALACCELERATOR ACCELERATORS MOVEABLE PURE
|
|
BEGIN
|
|
"I", AL_GOTO_INPUT, VIRTKEY,ALT, NOINVERT
|
|
"O", AL_GOTO_OUTPUT, VIRTKEY,ALT, NOINVERT
|
|
END
|
|
|
|
|