campo-sirio/al/examples/ex05win.rc

65 lines
1.8 KiB
Plaintext
Raw Normal View History

/*
* EX05WIN.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 05. 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 "ex05win.h"
//////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
ALMAINDIALOG DIALOG 11, 30, 197, 101
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Windows Example 05"
FONT 8, "MS Sans Serif"
{
PUSHBUTTON "E&xit", AL_EXIT, 104, 78, 88, 12
PUSHBUTTON "About", AL_ABOUT, 10, 78, 88, 12
CTEXT "Windows example 05: Test ObjectGuard Features", IDC_STATIC, 6,8,185,9
PUSHBUTTON "Destroy object twice", AL_DESTROY_TWICE, 9,27,88,12
PUSHBUTTON "Write past end of array", AL_WRITE_PAST_END, 104,27,88,12
PUSHBUTTON "Delete Invalid Pointer", AL_DELETE_BAD_POINTER, 10, 44, 88, 12
PUSHBUTTON "Exercise the heap", AL_EXERCISE, 104,44,88,12
PUSHBUTTON "Undershoot error", AL_UNDERSHOOT, 10, 61, 88, 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, 37, 23, 87, 12
}
//////////////////////////////////////////////////////////////////////////////
//
// Icon
//
ALICON ICON DISCARDABLE "ALICON.ICO"