Annotation of q_a/samples/regions/regions.rc, revision 1.1.1.2

1.1       root        1: #include <windows.h>
                      2: #include "regions.h"
                      3: 
                      4: Menu MENU
                      5: BEGIN
                      6:     POPUP        "&Options"
                      7:       BEGIN
                      8:         MENUITEM    "&Erase",           IDM_ERASE
                      9:         MENUITEM    SEPARATOR
                     10:         MENUITEM    "&OffsetRgn",       IDM_OFFSETRGN
                     11:         MENUITEM    "&InvertRgn",       IDM_INVERTRGN
                     12:         MENUITEM    "&FrameRgn",        IDM_FRAMERGN
                     13:         MENUITEM    "&PtInRgn",         IDM_PTINRGN
                     14:         MENUITEM    "&RectInRgn",       IDM_RECTINRGN
                     15:         MENUITEM    "&SetRectRgn",      IDM_SETRECTRGN
                     16:         MENUITEM    "&GetRgnBox...",    IDM_GETRGNBOX
                     17:         MENUITEM    SEPARATOR
                     18:         MENUITEM    "&About...",        IDM_ABOUT
                     19:       END
                     20:     POPUP        "&Create"
                     21:       BEGIN
                     22:         MENUITEM    "&EllipticRgn",     IDM_ELLIPSE
                     23:         MENUITEM    "&PolyPolygonRgn",  IDM_POLYPOLYGON
                     24:         MENUITEM    "&RectRgn",         IDM_RECT
                     25:       END
                     26:     POPUP        "Co&mbine"
                     27:       BEGIN
                     28:         MENUITEM    "RGN_AND",          IDM_AND
                     29:         MENUITEM    "RGN_COPY",         IDM_COPY
                     30:         MENUITEM    "RGN_DIFF",         IDM_DIFF
                     31:         MENUITEM    "RGN_OR",           IDM_OR
                     32:         MENUITEM    "RGN_XOR",          IDM_XOR
                     33:       END
                     34: END
                     35: 
1.1.1.2 ! root       36: About DIALOG 30, 14, 136, 90
        !            37: LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
        !            38: STYLE DS_MODALFRAME | | WS_POPUP | | WS_VISIBLE | | WS_CAPTION | | WS_SYSMENU
1.1       root       39: CAPTION "About Regions"
1.1.1.2 ! root       40: FONT 8, "MS Sans Serif"
1.1       root       41: BEGIN
1.1.1.2 ! root       42:     CTEXT           "Microsoft Developer Support", 104, 0, 63, 136, 8
        !            43:     CTEXT           "Copyright (c) 1992 Microsoft Corporation", 105, 0, 74,
        !            44:                     136, 8
        !            45:     LTEXT           "Regions Win32 SDK sample ", 103, 40, 25, 95, 8
        !            46:     LTEXT           "version 1.0", 106, 40, 35, 95, 8
        !            47:     DEFPUSHBUTTON   "OK", IDOK, 95, 6, 40, 14
        !            48:     CONTROL         "", 108, "Static", SS_BLACKRECT, 0, 53, 136, 2
1.1       root       49: END
                     50: 
                     51: 
                     52: RgnBox DIALOG 21, 28, 87, 116
                     53: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
                     54: FONT 8, "Helv"
                     55: BEGIN
                     56:     LTEXT           "GetRgnBox returned:", 101, 10, 6, 77, 8
                     57:     LTEXT           "Text", 102, 10, 21, 68, 8
                     58:     LTEXT           "rect.left:", 103, 10, 37, 40, 8
                     59:     LTEXT           "rect.top:", 104, 10, 53, 42, 8
                     60:     LTEXT           "rect.right:", 105, 10, 69, 41, 8
                     61:     LTEXT           "rect.bottom:", 106, 10, 85, 43, 8
                     62:     LTEXT           "left", 107, 55, 37, 30, 8
                     63:     LTEXT           "top", 108, 55, 53, 30, 8
                     64:     LTEXT           "right", 109, 55, 69, 30, 8
                     65:     LTEXT           "bottom", 110, 55, 85, 30, 8
                     66:     DEFPUSHBUTTON   "OK", IDOK, 10, 101, 68, 14,   WS_GROUP
                     67: END

unix.superglobalmegacorp.com

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