win32gui.GetWindowDC

int = GetWindowDC(hWnd)

returns the device context (DC) for the entire window, including title bar, menus, and scroll bars.

Parameters

hWnd : int

handle of window