Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Win 2 API - <b>combinergn</b> make new region from two existing regions http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
CombineRgn           Make new region from two existing regions

short CombineRgn(hDestRgn, hScrRgn1, hScrRgn2, nCombineMode)
HRGN hDestRgn;
HRGN hScrRgn1;
HRGN hScrRgn2;
short nCombineMode;


        Combine region is one item from each column or'd (|) together:

             Resulting Type                      Operation
 |-------------------------------------+------------------------------------|
 | ERROR          None created         | RGN_AND   Overlapping only         |
 | NULLREGION     New is empty         | RGN_OR    Union                    |
 | SIMPLEREGION   No overlapped borders| RGN_XOR   Union except overlapping |
 | COMPLEXREGION  Overlapped borders   | RGN_DIFF                           |
 |                                     | RGN_COPY  Copy region1             |
 +--------------------------------------------------------------------------+

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson