BCGControlBar Pro for MFC
virtual CEdit* CBCGPToolbarEditBoxButton::CreateEdit ( CWnd *  pWndParent,
const CRect &  rect 
)
virtual

Creates the Windows edit control and attaches it to the CBCGPToolbarEditBoxButton object

Returns
A pointer to the newly created edit control; it is NULL if the control's creation and attachment fail.

You construct a CBCGPToolbarEditBoxButton object in two steps. First call the constructor, then call CreateEdit, which creates the Windows edit control and attaches it to the CBCGPToolbarEditBoxButton object.

Parameters
pWndParentSpecifies the edit control's parent window. It must not be NULL.
rectSpecifies the edit control's size and position.