RESOURCE.H

/***  
*resource.h
*
* This is a part of the Microsoft Source Code Samples.
*
* Copyright 1992 - 1998 Microsoft Corporation. All rights reserved.
*
* This source code is only intended as a supplement to Microsoft Development
* Tools and/or WinHelp documentation. See these sources for detailed
* information regarding the Microsoft samples programs.
*
*Purpose:
*
*Implementation Notes:
*
*****************************************************************************/

#ifdef _MAC

#define kMinSize500/* minimum size (in K) */
#define kPrefSize500/* preferred size (in K) */

#define kMinHeap21 * 1024
#define kMinSpace8 * 1024

#definerMenuBar128/* menu bar */
#definerAboutAlert128/* about alert */
#definerUserAlert129/* error alert */

#definerCalc130

#definemApple128/* Apple menu */
#defineiAbout1

#definemFile129/* File menu */
#define iClose4
#defineiQuit12

#definemEdit130/* Edit menu */
#defineiUndo1
#defineiCut3
#defineiCopy4
#defineiPaste5
#defineiClear6

#endif

// Note: there is code that depends on all of the digits being contiguous
// and in the following order.

// Mac Note: On the mac these IDs correspond to the control indices
// in the DITL array.

#define IDC_ZERO 1
#define IDC_ONE 2
#define IDC_TWO 3
#define IDC_THREE 4
#define IDC_FOUR 5
#define IDC_FIVE 6
#define IDC_SIX 7
#define IDC_SEVEN 8
#define IDC_EIGHT 9
#define IDC_NINE 10

// Note: there is code that depends on the operators being contiguous
// and in the following order.
//
#define IDC_PLUS 11
#define IDC_MINUS 12
#define IDC_MULT 13
#define IDC_DIV 14

#define IDC_CLEAR 15
#define IDC_EQUALS 16

#define IDC_DISPLAY 17