campo-sirio/al/examples/ex03win.rc
alex 714dd74636 Archive Library versione 2.00
git-svn-id: svn://10.65.10.50/trunk@5350 c028cbd2-c16b-5b4b-a496-9718f37d4682
1997-10-09 16:09:54 +00:00

102 lines
2.8 KiB
Plaintext
Executable File

/*
* EX03WIN.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 03. 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 "ex03win.h"
//////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
ALMainDialog DIALOG 0, 0, 280, 245
STYLE WS_CHILD
FONT 8, "MS Sans Serif"
{
EDITTEXT AL_INPUT, 34, 157, 77, 12
PUSHBUTTON "Read Archive", AL_READ_INPUT, 37, 136, 56, 12
PUSHBUTTON "&Delete", AL_DELETE, 120, 38, 42, 12
PUSHBUTTON "&Abort", AL_ABORT, 120, 75, 42, 12
PUSHBUTTON "E&xit", AL_EXIT, 120, 112, 42, 12
EDITTEXT AL_OUTPUT, 177, 158, 77, 12, ES_READONLY | NOT WS_TABSTOP | WS_BORDER
LTEXT "&Input:", IDC_STATIC, 3, 157, 27, 11
CONTROL "", AL_PROGRESS_BAR, "ALGauge", 0 | WS_CHILD | WS_VISIBLE, 14, 207, 118, 12
CTEXT "Progress Text Window", AL_PROGRESS_TEXT, 14, 186, 118, 11
LISTBOX AL_INPUT_LIST, 22, 36, 87, 89, LBS_NOTIFY | WS_BORDER | LBS_MULTIPLESEL | LBS_EXTENDEDSEL | WS_BORDER | WS_VSCROLL
CONTROL "AL_INPUT_FILES", AL_OUTPUT_LIST, "LISTBOX", LBS_NOTIFY | WS_BORDER | WS_BORDER | WS_VSCROLL, 171, 36, 87, 89
LTEXT "Backup:", IDC_STATIC, 138, 159, 30, 9
EDITTEXT AL_DEBUG, 152, 178, 124, 63, ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | NOT WS_TABSTOP | WS_BORDER | WS_VSCROLL | WS_HSCROLL
CTEXT "Select an input archive, select files, then Delete", -1, 11, 17, 259, 12
CTEXT "Windows Example 03: Deleting objects from an existing archive", -1, 11, 5, 259, 12
}
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, 30, 23, 103, 12
}
//////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
//////////////////////////////////////////////////////////////////////////////
//
// Icon
//
ALIcon ICON DISCARDABLE "ALICON.ICO"
//////////////////////////////////////////////////////////////////////////////
//
// Menu
//
ALMenu MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "E&xit", AL_EXIT
END
POPUP "&Help"
BEGIN
MENUITEM "&About", AL_ABOUT
END
END
ALAccelerator ACCELERATORS
{
"I", AL_GOTO_INPUT, VIRTKEY, ALT
}