102 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			102 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| /*
 | |
|  * EX01WIN.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 01.  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 "ex01win.h"
 | |
| 
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| // Dialog
 | |
| //
 | |
| 
 | |
| ALMainDialog DIALOG 0, 0, 281, 229
 | |
| STYLE WS_CHILD
 | |
| FONT 8, "MS Sans Serif"
 | |
| {
 | |
|  EDITTEXT AL_ARCHIVE_NAME, 199,118,51,12
 | |
|  PUSHBUTTON "Read Dir", AL_READ_DIR, 43,140,50,12
 | |
|  PUSHBUTTON "E&xit", AL_EXIT, 119,89,42,12
 | |
|  LTEXT "&Archive:", IDC_STATIC, 160,119,33,10
 | |
|  CONTROL "", AL_PROGRESS_BAR, "ALGauge", WS_TABSTOP, 8,189,118,12
 | |
|  PUSHBUTTON "&Abort", AL_ABORT, 119,63,42,12
 | |
|  CTEXT "Progress Text Window", AL_PROGRESS_TEXT, 8,168,118,11
 | |
|  LISTBOX AL_ARCHIVE_CONTENTS, 176,21,74,89, WS_VSCROLL
 | |
|  LISTBOX AL_INPUT_FILES, 22,21,74,89, LBS_SORT | LBS_EXTENDEDSEL | WS_VSCROLL
 | |
|  EDITTEXT AL_DIR_MASK, 42,118,53,12
 | |
|  PUSHBUTTON "Read Archive", AL_READ_ARCHIVE, 194,137,56,12
 | |
|  PUSHBUTTON "Append", AL_APPEND, 119,39,42,12
 | |
|  EDITTEXT AL_DEBUG, 146,160,124,63, ES_MULTILINE | ES_AUTOVSCROLL | ES_AUTOHSCROLL | WS_VSCROLL | WS_HSCROLL
 | |
|  LTEXT "&Dir mask:", IDC_STATIC, 7,119,34,11
 | |
|  CTEXT "Windows Example 01: Select files to append to an archive", IDC_STATIC, 6,3,252,11
 | |
| }
 | |
| 
 | |
| 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, 32, 23, 103, 12
 | |
| }
 | |
| 
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| // Icon
 | |
| //
 | |
| 
 | |
| ALIcon ICON "alicon.ico"
 | |
| 
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| // Menu
 | |
| //
 | |
| 
 | |
| ALMenu MENU
 | |
| {
 | |
|  POPUP "&File"
 | |
|  {
 | |
|   MENUITEM "E&xit", AL_EXIT
 | |
|  }
 | |
| 
 | |
|  POPUP "&Help"
 | |
|  {
 | |
|   MENUITEM "&About", AL_ABOUT
 | |
|  }
 | |
| 
 | |
| }
 | |
| 
 | |
| 
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| // Accelerator
 | |
| //
 | |
| 
 | |
| ALAccelerator ACCELERATORS
 | |
| {
 | |
|  "D", AL_GOTO_INPUT, VIRTKEY,ALT, NOINVERT
 | |
|  "A", AL_GOTO_OUTPUT, VIRTKEY,ALT, NOINVERT
 | |
| }
 | |
| 
 |