win32gui.CreatePatternBrush

PyGdiHANDLE = CreatePatternBrush(hbmp)

Creates a brush using a bitmap as a pattern

Parameters

hbmp : PyGdiHANDLE

Handle to a bitmap