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

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: 
                     13: #ifdef NOTIMPLEMENTED
                     14: 
                     15:         MENUITEM    "&FrameRgn",        IDM_FRAMERGN
                     16: 
                     17: #endif
                     18: 
                     19:         MENUITEM    "&PtInRgn",         IDM_PTINRGN
                     20:         MENUITEM    "&RectInRgn",       IDM_RECTINRGN
                     21:         MENUITEM    "&SetRectRgn",      IDM_SETRECTRGN
                     22:         MENUITEM    "&GetRgnBox...",    IDM_GETRGNBOX
                     23:         MENUITEM    SEPARATOR
                     24:         MENUITEM    "&About...",        IDM_ABOUT
                     25:       END
                     26:     POPUP        "&Create"
                     27:       BEGIN
                     28:         MENUITEM    "&EllipticRgn",     IDM_ELLIPSE
                     29:         MENUITEM    "&PolyPolygonRgn",  IDM_POLYPOLYGON
                     30:         MENUITEM    "&RectRgn",         IDM_RECT
                     31:       END
                     32:     POPUP        "Co&mbine"
                     33:       BEGIN
                     34:         MENUITEM    "RGN_AND",          IDM_AND
                     35:         MENUITEM    "RGN_COPY",         IDM_COPY
                     36:         MENUITEM    "RGN_DIFF",         IDM_DIFF
                     37:         MENUITEM    "RGN_OR",           IDM_OR
                     38:         MENUITEM    "RGN_XOR",          IDM_XOR
                     39:       END
                     40: END
                     41: 
                     42: AboutBox DIALOG 22, 17, 144, 75
                     43: STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
                     44: CAPTION "About Regions"
                     45: BEGIN
                     46:     CTEXT "Microsoft Windows32"          -1,      0,  5, 144,  8
                     47:     CTEXT "Regions Library Application"  -1,      0, 14, 144,  8
                     48:     CTEXT "Version 3.0"                  -1,      0, 34, 144,  8
                     49:     DEFPUSHBUTTON "OK"                   IDOK,   53, 59,  32, 14, WS_GROUP
                     50: END
                     51: 
                     52: 
                     53: RgnBox DIALOG 21, 28, 87, 116
                     54: STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
                     55: FONT 8, "Helv"
                     56: BEGIN
                     57:     LTEXT           "GetRgnBox returned:", 101, 10, 6, 77, 8
                     58:     LTEXT           "Text", 102, 10, 21, 68, 8
                     59:     LTEXT           "rect.left:", 103, 10, 37, 40, 8
                     60:     LTEXT           "rect.top:", 104, 10, 53, 42, 8
                     61:     LTEXT           "rect.right:", 105, 10, 69, 41, 8
                     62:     LTEXT           "rect.bottom:", 106, 10, 85, 43, 8
                     63:     LTEXT           "left", 107, 55, 37, 30, 8
                     64:     LTEXT           "top", 108, 55, 53, 30, 8
                     65:     LTEXT           "right", 109, 55, 69, 30, 8
                     66:     LTEXT           "bottom", 110, 55, 85, 30, 8
                     67:     DEFPUSHBUTTON   "OK", IDOK, 10, 101, 68, 14,   WS_GROUP
                     68: END

unix.superglobalmegacorp.com

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