74 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			74 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
/*
 | 
						|
 * EX12WIN.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 12.  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 "ex12win.h"
 | 
						|
 | 
						|
//////////////////////////////////////////////////////////////////////////////
 | 
						|
//
 | 
						|
// Dialog
 | 
						|
//
 | 
						|
 | 
						|
ALMainDialog DIALOG 0, 0, 198, 215
 | 
						|
STYLE WS_CHILD
 | 
						|
FONT 8, "MS Sans Serif"
 | 
						|
{
 | 
						|
 LISTBOX AL_INPUT_FILES, 22, 36, 80, 78, LBS_STANDARD | LBS_EXTENDEDSEL | WS_TABSTOP
 | 
						|
 PUSHBUTTON "Rename", AL_RENAME, 114, 39, 72, 12
 | 
						|
 PUSHBUTTON "Rename to Backup", AL_RENAME_TO_BACKUP, 114, 54, 72, 12
 | 
						|
 PUSHBUTTON "UnRename", AL_UNRENAME, 114, 69, 72, 12
 | 
						|
 PUSHBUTTON "E&xit", AL_EXIT, 114, 99, 72, 12, WS_TABSTOP
 | 
						|
 EDITTEXT AL_FILE_NAME, 94, 122, 93, 13
 | 
						|
 EDITTEXT AL_NEW_NAME, 94, 139, 93, 13, ES_LOWERCASE | WS_BORDER | WS_TABSTOP
 | 
						|
 CTEXT "Windows Example 12: Get Archive Status", IDC_STATIC, 16, 6, 168, 11
 | 
						|
 RTEXT "New Name:", -1, 23, 140, 62, 13
 | 
						|
 RTEXT "Current File Name:", -1, 7, 122, 78, 15
 | 
						|
 CTEXT "Select a file, enter a new name, then click", -1, 22, 19, 161, 10
 | 
						|
 EDITTEXT AL_OLD_NAME, 94, 156, 93, 13, ES_LOWERCASE | ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 | 
						|
 RTEXT "Old Name:", -1, 23, 156, 62, 13
 | 
						|
 EDITTEXT AL_STATUS, 94, 173, 93, 34, ES_MULTILINE | ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 | 
						|
 RTEXT "Status:", -1, 23, 172, 62, 13
 | 
						|
 PUSHBUTTON "Perform Seek Test!", AL_SEEK, 114, 84, 72, 12
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
//////////////////////////////////////////////////////////////////////////////
 | 
						|
//
 | 
						|
// Icon
 | 
						|
//
 | 
						|
 | 
						|
ALIcon ICON "alicon.ico"
 | 
						|
 | 
						|
//////////////////////////////////////////////////////////////////////////////
 | 
						|
//
 | 
						|
// Menu
 | 
						|
//
 | 
						|
 | 
						|
ALMenu MENU
 | 
						|
{
 | 
						|
 POPUP "&File"
 | 
						|
 {
 | 
						|
  MENUITEM "E&xit", AL_EXIT
 | 
						|
 }
 | 
						|
}
 |