win32ui.FindWindow

PyCWnd = FindWindow(className, windowName )

Searches for the specified top-level window

Parameters

className : string

The window class name to find, else None

windowName : string

The window name (ie, title) to find, else None

Return Value

The result is a PyCWnd (or derived) object, or a win32ui.error exception is raised.