int CBCGPExpanderCtrl::AddDialog | ( | const CString & | strCaption, |
LPCTSTR | lpszDlgResName, | ||
CRuntimeClass * | pRTIDialog | ||
) |
Adds a new dialog to the expander control.
strCaption | The dialog caption. |
lpszDlgResName | The dialog resource string. |
pRTIDialog | The dialog runtime class (should be specified with DECLARE_DYNCREATE and derived from CDialog class). |