win32ui.GetMainFrame

PyCWnd = GetMainFrame()

Returns a window object for the main application frame.