PyCWnd.GetDC

PyCDC = GetDC()

Gets the windows current DC object.

Return Value

The result is a PyCDC, or a win32ui.error exception is raised.