BCGControlBar Pro for MFC
virtual CWnd* CBCGPEditListBase::OnCreateList ( )
protectedpure virtual

Called by the framework as a part of initialization process. Implementation required.

Returns
A pointer to CWnd object. This pointer will be NULL if the list control portion can't be created.

This function is called when CBCGPEditListBase base implementation handles WM_CREATE message. It creates the CStatic control first and than requires to create the embedded Windows control that should implement the editable list box functionality.