The cpp CRgn.CreatePolygonRgn function is used to create a region object by defining its shape as a polygon. The function takes an array of points, each specifying the X and Y coordinates of a vertex of the polygon, and creates a region object that encompasses the entire polygon. This function allows developers to easily create complex polygon regions for various purposes, such as defining the shape of a window or determining the clickable area of a user interface element.
C++ (Cpp) CRgn::CreatePolygonRgn - 29 examples found. These are the top rated real world C++ (Cpp) examples of CRgn::CreatePolygonRgn extracted from open source projects. You can rate examples to help us improve the quality of examples.