win32gui.FrameRect

FrameRect(hDC, rc, hbr)

Draws an outline around a rectangle

Parameters

hDC : PyHANDLE

Handle to a device context

rc : PyRECT

Rectangle around which to draw

hbr : PyGdiHANDLE

Handle to brush created using CreateHatchBrush, CreatePatternBrush, CreateSolidBrush, or GetStockObject