PyCWnd.GetWindow

PyCWnd = GetWindow(type)

Returns a window, with the specified relationship to this window.

Parameters

type : int

Specifies the relationship between the current and the returned window. It can take one of the following values: GW_CHILD, GW_HWNDFIRST, GW_HWNDLAST, GW_HWNDNEXT, GW_HWNDPREV or GW_OWNER

MFC References

CWnd::GetWindow

Return Value

The result is a PyCWnd or None if no Window can be found.