BCGControlBar Pro for MFC
BOOL CBCGPExpanderCtrl::AddDialogToGroup ( int  nGroup,
CDialog *  pDlg,
BOOL  bAutoDestroy = FALSE 
)

Adds a new dialog to the existing group of the expander control.

Parameters
nGroupA zero-based group index.
pDlgA pointer to the dialog to be added to the container.
bAutoDestroySpecifies wheher the dialog should be automatically destroyed.