84 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
		
			Executable File
		
	
	
	
	
| /*
 | |
|  * EX20WIN.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 20.  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, 19964  2.0A  : Second release
 | |
|  *
 | |
|  */
 | |
| 
 | |
| #ifndef WS_POPUP
 | |
| #include <windows.h>
 | |
| #endif
 | |
| #include "ex20win.h"
 | |
| 
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| // Dialog
 | |
| //
 | |
| 
 | |
| ALMainDialog DIALOG 0, 0, 279, 157
 | |
| STYLE WS_CHILD
 | |
| FONT 8, "MS Sans Serif"
 | |
| {
 | |
|  PUSHBUTTON "E&xit", AL_EXIT, 101, 132, 45, 12
 | |
|  LISTBOX AL_INPUT_FILES, 22, 36, 74, 89, LBS_SORT | LBS_EXTENDEDSEL | WS_VSCROLL
 | |
|  CTEXT "Windows Example 20: Get the Unix time stamp", IDC_STATIC, 43, 4, 168, 11
 | |
|  RTEXT "UNIX Time Stamp:", -1, 102, 65, 67, 13
 | |
|  EDITTEXT AL_TIME_STAMP, 173, 63, 95, 11, ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 | |
|  RTEXT "File Name:", -1, 107, 44, 62, 13
 | |
|  EDITTEXT AL_FILE_NAME, 173, 42, 95, 11, ES_LOWERCASE | ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 | |
|  RTEXT "Date and Time:", -1, 108, 86, 61, 11
 | |
|  RTEXT "Years since 1970:", -1, 108, 105, 61, 11
 | |
|  EDITTEXT AL_DATE_AND_TIME, 173, 84, 95, 11, ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 | |
|  EDITTEXT AL_YEARS, 173, 105, 95, 11, ES_READONLY | NOT WS_TABSTOP | WS_BORDER
 | |
|  CTEXT "Double click to get file's timestamp", IDC_STATIC, 44, 18, 168, 11
 | |
| }
 | |
| 
 | |
| 
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| // Icon
 | |
| //
 | |
| 
 | |
| ALIcon ICON "alicon.ico"
 | |
| 
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| // Menu
 | |
| //
 | |
| 
 | |
| ALMenu MENU
 | |
| {
 | |
|  POPUP "&File"
 | |
|  {
 | |
|   MENUITEM "E&xit", AL_EXIT
 | |
|  }
 | |
| 
 | |
| }
 | |
| 
 | |
| 
 | |
| //////////////////////////////////////////////////////////////////////////////
 | |
| //
 | |
| // Accelerator
 | |
| //
 | |
| 
 | |
| ALAccelerator ACCELERATORS
 | |
| {
 | |
|  "D", AL_GOTO_INPUT, VIRTKEY,ALT, NOINVERT
 | |
|  "A", AL_GOTO_OUTPUT, VIRTKEY,ALT, NOINVERT
 | |
| }
 | |
| 
 |