File:  [OS/2 SDKs] / pmsdk / samples / calc / calc.rc
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Thu Aug 9 12:28:12 2018 UTC (7 years, 9 months ago) by root
Branches: msft, MAIN
CVS tags: pmsdk-1989, pmsdk-1988, HEAD
Microsoft OS/2 SDK PM 08-08-1988

#include <pmwin.h>
#include "calc.h"

rcinclude calc.dlg

POINTER  IDR_CALC calc.ico
POINTER  IDP_FINGER finger.ptr

BITMAP	IDB_SQR  sqr.bmp


/******** Main Menu ********/

MENU    IDR_CALC PRELOAD
BEGIN
    SUBMENU   "~Edit", -1
    BEGIN
        MENUITEM    "~Copy\tCtrl+Ins ",     CMD_COPY
        MENUITEM    "~Paste\tShift+Ins",    CMD_PASTE
        MENUITEM    "",                     0, MIS_SEPARATOR
        MENUITEM    "E~xit",                CMD_EXIT
        MENUITEM    "A~bout Calculator...", CMD_ABOUT
    END
END

/****** Accelerator table *****/

ACCELTABLE      IDR_CALC PRELOAD
BEGIN
    VK_INSERT,	   CMD_COPY,	VIRTUALKEY, CONTROL
    VK_INSERT,	   CMD_PASTE,	VIRTUALKEY, SHIFT
END


STRINGTABLE FIXED PRELOAD
BEGIN
    1, "Calculator"
    2, "Error"
    3, "�"          ;the plus/minus key
END

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.