PyCWnd.CreateWindow

CreateWindow(classId, windowName, style, rect, parent, id, context)

Creates the actual window

Parameters

classId : string

The class ID for the window, or None

windowName : string

The title for the window, or None

style : int

The style for the window.

rect : (left, top, right, bottom)

The size and position of the window.

parent : PyCWnd

The parent window of the new window..

id : int

The control's ID.

context=None : object

A CreateContext object.

MFC References

CWnd::Create