PyCWnd = FindWindowEx(parentWindow, childAfter , className , windowName )

Searches for the specified top-level or child window


parentWindow : PyCWnd

The parent whose children will be searched. If None, the desktops window will be used.

childAfter : PyCWnd

The search begins with the next window in the Z order. If None, all children are searched.

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.