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 rectangleTopRect : int
Position of top edge of rectangleRightRect : int
Position of right edge of rectangleBottomRect : int
Position of bottom edge of rectangleWidthEllipse : int
Width of ellipseHeightEllipse : int
Height of ellipse