BCGControlBar Pro for MFC
BOOL CBCGPExpanderCtrl::AddDialogToGroup ( int  nGroup,
UINT  nDlgResID,
CRuntimeClass *  pRTIDialog 
)

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

Parameters
nGroupA zero-based group index.
nDlgResIDThe dialog resource ID.
pRTIDialogThe dialog runtime class (should be specified with DECLARE_DYNCREATE and derived from CDialog class).