◄CRgn► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL CreateRectRgn( int x1, int y1, int x2, int y2 ); Parameter Description <x1> Specifies the x-coordinate of the upper-left corner of the region. <y1> Specifies the y-coordinate of the upper-left corner of the region. <x2> Specifies the x-coordinate of the lower-right corner of the region. <y2> Specifies the y-coordinate of the lower-right corner of the region. Remarks Creates a rectangular region that is stored in the CRgn object. Return Value TRUE if the operation succeeded; otherwise FALSE. See Also ◄CRgn::CreateRectRgnIndirect►, ◄CRgn::CreateRoundRectRgn►, ◄::CreateRectRgn► -♦-