|
Style is Child in Style
Border is None
Select Control in More Styles
Control parent selected in Extended Styles
Then add the child dialog class member CInsideDlg in the parent dialog, and add it in OnInitDialog
CInsideDlg m_child;
m_child.Create (IDD_DIALOG1, this);
//m_child.ShowWindow(0);
m_child.MoveWindow (10,20,20,10, TRUE);
//m_child.ModifyStyle(0, WS_TABSTOP, 0);
m_child.ShowWindow (SW_SHOW);
There is no problem in compiling, but the main dialog box after execution does not display sub dialog boxes. What is the reason? |
|