PyCFrameWnd.CreateWindow

tuple = CreateWindow(wndClass, title , style , rect , PyCWnd , createContext , menuId , styleEx )

Creates the actual window for the PyCFrameWnd object.

Parameters

wndClass : string

The window class name, or None

title : string

The window title

style=WS_VISIBLE | WS_OVERLAPPEDWINDOW : int

The window style

rect=None : int, int, int, int

The default rectangle

PyCWnd=None : parent

The parent window

createContext=None : tuple

A tuple representing a CREATECONTEXT structure.

menuId : string or int

The string or integer id for the menu.

styleEx : int

The extended style of the window being created.

MFC References

CFrameWnd::Create