void CTestDlgDlg::OnCreateWindow()
{
// TODO: Add your control notification handler code here
CMyDialog *pDialog = NULL;
pDialog = new CMyDialog();
pDialog->Create(IDD_DIALOG, this);
if ( NULL != pDialog )
{
pDialog->ShowWindow(SW_SHOW);
}
}