BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::Create ( DWORD  dwStyle,
const RECT &  rect,
CWnd *  pParentWnd,
UINT  nID,
CCreateContext *  pContext = NULL 
)
virtual

Creates a Windows child window and attaches it to the CBCGPEditCtrl object.

Returns
Nonzero if successful; otherwise 0.

You construct an edit control in two steps. First, call the constructor, which constructs the CBCGPEditCtrl object. Then call Create, which creates the Windows child window and attaches it to CBCGPEditCtrl.

Parameters
dwStyleSpecifies the window style attributes. WS_POPUP cannot be used.
rectThe size and position of the window, in client coordinates of pParentWnd.
pParentWndThe parent window.
nIDThe ID of the edit control child window.
pContextThe create context of the window.