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

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

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