win32gui.CreateRoundRectRgn

PyGdiHandle = CreateRoundRectRgn(LeftRect, TopRect , RightRect , BottomRect , WidthEllipse , HeightEllipse )

Create a rectangular region with elliptically rounded corners,

Parameters

LeftRect : int

Position of left edge of rectangle

TopRect : int

Position of top edge of rectangle

RightRect : int

Position of right edge of rectangle

BottomRect : int

Position of bottom edge of rectangle

WidthEllipse : int

Width of ellipse

HeightEllipse : int

Height of ellipse