PyCMDIChildWnd.CreateWindow

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

Creates the actual window for the PyCWnd object.

Parameters

wndClass : string

The window class name, or None

title : string

The window title

style=WS_CHILD | 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.

Comments

You do not need to call this method if you use the MFC Document/View framework.