win32gui.SetRectRgn

SetRectRgn(hrgn, LeftRect, TopRect, RightRect, BottomRect)

Makes an existing region rectangular

Parameters

hrgn : PyGdiHandle

Handle to a region

LeftRect : int

Left edge in logical units

TopRect : int

Top edge in logical units

RightRect : int

Right edge in logical units

BottomRect : int

Bottom edge in logical units