BCGSuite for MFC
virtual CWnd* CBCGPWndHostVisualObject::CreateWnd ( const CRect &  rect,
UINT  nID,
CWnd *  pParent 
)
virtual

Called by the framework to create a window.

Parameters
rectThe window bounding rectangle.
nIDThe window control ID.
pParent[in,out] A pointer to the parent window.
Returns
NULL if it fails, else the new window.