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