BCGControlBar Pro for MFC
int CBCGPExpanderCtrl::AddDelayedGroup ( const CString &  strCaption)

Adds a new dialog to the expander control The dialog will be created upon the parent group expanding.

Parameters
strCaptionThe dialog caption.
Returns
A zero-based index of the dialog in the container.

Call this method for adding a "delayed" (created on expand) group. This group is initially created in a collapsed state and should be populated in the overridden OnSetupDelayedGroup() method.