BCGControlBar Pro for MFC
virtual CBCGPDateTimeCtrlWin* CBCGPToolbarDateTimeCtrl::CreateDateTimeCtrl ( CWnd *  pWndParent,
const CRect &  rect 
)
virtual

Called to create a new CBCGPDateTimeCtrlWin object

Parameters
pWndParentThe parent window of the control.
rectThe control bounding rectangle.
Returns
NULL if it fails, else the new date time control.

This method is called only if m_bThemedDateTimeControl is FALSE; otherwise CreateThemedDateTimeCtrl will be called instead.