home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
RXCALC.ZIP
/
REXXCAL4.RC
< prev
next >
Wrap
Text File
|
1991-05-15
|
7KB
|
113 lines
/********************************************************************/
/* */
/* REXXCALC.RC - a simple pocket calculator */
/* */
/********************************************************************/
#define INCL_WINSYS
#include <os2.h>
#include "rexxcal4.h"
ICON REXXCALC rexxcalc.ico
WINDOWTEMPLATE REXXCALC
BEGIN
FRAME NULL, 0, 100, 40, 132, 140, WS_VISIBLE, FCF_TITLEBAR |
FCF_SYSMENU | FCF_MINBUTTON | FCF_BORDER | FCF_TASKLIST
BEGIN
WINDOW "Rexx Calculator", FID_CLIENT, 0, 0, 140, 140, "RexxCalc", WS_VISIBLE
BEGIN
AUTOCHECKBOX "Scientific", BUTTON_FORM, 8, 104, 70, 12, BS_NOPOINTERFOCUS
ENTRYFIELD "0", DISPLAY, 10, 120, 110, 14, ES_RIGHT | ES_MARGIN
PRESPARAMS PP_DISABLEDBACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "**", BUTTON_POWER, 56, 68, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKGRAY
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "9", BUTTON_9, 56, 52, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "6", BUTTON_6, 56, 36, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "3", BUTTON_3, 56, 20, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "+/-", BUTTON_SIGN, 56, 4, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKBLUE
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "//", BUTTON_REMAINDER, 32, 68, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKGRAY
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "8", BUTTON_8, 32, 52, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "5", BUTTON_5, 32, 36, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "2", BUTTON_2, 32, 20, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON ".", BUTTON_PERIOD, 32, 4, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKBLUE
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "%", BUTTON_IDIV, 8, 68, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKGRAY
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "7", BUTTON_7, 8, 52, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "4", BUTTON_4, 8, 36, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "1", BUTTON_1, 8, 20, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "0", BUTTON_0, 8, 4, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_PALEGRAY
PUSHBUTTON "/", BUTTON_DIVIDE, 80, 68, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKGRAY
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "x", BUTTON_MULTIPLY, 80, 52, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKGRAY
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "-", BUTTON_MINUS, 80, 36, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKGRAY
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "+", BUTTON_PLUS, 80, 20, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKGRAY
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "=", BUTTON_ENTER, 80, 4, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKGRAY
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "C", BUTTON_CLEAR, 80, 100, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKBLUE
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "P1", BUTTON_PROGRAM1, 8, 84, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "P2", BUTTON_PROGRAM2, 32, 84, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "P3", BUTTON_PROGRAM3, 56, 84, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "P4", BUTTON_PROGRAM4, 80, 84, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "M+", BUTTON_MEMORY_PLUS, 104, 4, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "M-", BUTTON_MEMORY_MINUS, 104, 20, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "MR", BUTTON_MEMORY_RECALL, 104, 36, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "MS", BUTTON_MEMORY_STORE, 104, 52, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "MC", BUTTON_MEMORY_CLEAR, 104, 68, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKRED
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "P", BUTTON_DIGITS, 104, 100, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKBLUE
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
PUSHBUTTON "Exp", BUTTON_EXPONENT, 104, 84, 20, 14, BS_NOPOINTERFOCUS
PRESPARAMS PP_BACKGROUNDCOLORINDEX, CLR_DARKBLUE
PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_WHITE
END
END
END