Annotation of q_a/samples/regions/readme, revision 1.1

1.1     ! root        1:  Sample: Using Region-Related API Functions
        !             2: 
        !             3: Summary:
        !             4: 
        !             5: The REGIONS sample demonstrates various region-related API
        !             6: functions, and allows a user to create rectangular,
        !             7: elliptic, and multi-polygon regions. In addition, hit-
        !             8: testing a region and combining regions using the different
        !             9: region-combination modes is demonstrated.
        !            10: 
        !            11: More Information:
        !            12: 
        !            13: When the program has started, create a region by choosing
        !            14: one of the items in the Create submenu. At this point, items
        !            15: in the Options submenu will be enabled, and hit-testing,
        !            16: inversion, and other actions can be performed on the region.
        !            17: 
        !            18: When a second region is created, items in the Combine
        !            19: submenu will be enabled. Choosing one of these items causes
        !            20: CombineRgn to be called with the specified combine mode, and
        !            21: the two regions are merged into one.
        !            22: 
        !            23: It is possible to create up to three regions at a time.
        !            24: Items in the Options submenu always apply to the most
        !            25: recently created (or combined) region. The Erase item
        !            26: deletes all existing regions. Items in the Combine submenu
        !            27: always apply to the two most recently created (or combined)
        !            28: regions.
        !            29: 
        !            30: The following is a list of the Win32 API functions used in
        !            31: this sample:
        !            32: 
        !            33:    BeginPaint         GetCapture     PtInRegion     
        !            34:    CheckMenuItem      GetClientRect  Rectangle      
        !            35:    CombineRgn         GetDC          RectInRegion   
        !            36:    CreateEllipticRgn  GetMenu        RegisterClass  
        !            37:    CreateEllipticRgn  GetMessage     ReleaseCaptur  
        !            38:    Indirect                          e
        !            39:    CreatePen          GetRgnBox      SelectObject   
        !            40:    CreatePolygonRgn   GetStockObjec  SetCapture     
        !            41:                       t
        !            42:    CreatePolyPolygon  GetSubMenu     SetDlgItemTex  
        !            43:    Rgn                               t
        !            44:    CreateRectRgn      InvalidateRec  SetRectRgn     
        !            45:                       t
        !            46:    CreateSolidBrush   InvertRgn      SetROP2        
        !            47:    CreateWindow       LoadCursor     ShowWindow     
        !            48:    DeleteObject       LoadIcon       TranslateMess  
        !            49:                                      age
        !            50:    ReleaseDC          LocalAlloc     UpdateWindow   
        !            51:    DialogBox          LocalFree      wsprintf       
        !            52:    DispatchMessage    LocalHandle                   
        !            53:    EnableMenuItem     MessageBeep                   
        !            54:    EndDialog          MessageBox                    
        !            55:    EndPaint           OffsetRgn                     
        !            56:    FillRgn            PolyPolygon                   
        !            57:    FrameRgn           PostQuitMessa                 
        !            58:                       ge
        !            59: 
        !            60: 
        !            61: 

unix.superglobalmegacorp.com

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