int CBCGPExpanderCtrl::AddDialog | ( | const CString & | strCaption, |
CDialog * | pDlg, | ||
BOOL | bAutoDestroy = FALSE |
||
) |
Adds a new dialog to the expander control.
strCaption | The dialog caption. |
pDlg | A pointer to the dialog to be added to the container. |
bAutoDestroy | Specifies wheher the dialog should be automatically destroyed. |