Topic: Call of modal dialogue from modal dialogue
Is dialogue IDD_MYDIALOG1 to which there corresponds a variable myDialog1 type CMyDialog1. This dialogue has been caused in the modal image: CMyDialog1 myDialog1; myDIalog1.DoModal (); On this dialogue there is a button with an inscription to "Show" IDC_BUTTON1 to which there corresponds a variable m_IDC_BUTTON1 type CButton. At pushing this button other dialogue - IDD_MYDIALOG2 to which there corresponds a variable myDialog2 type CMyDIalog2 is caused: CMyDialog2 myDialog2; myDIalog2.DoModal (); the Question: whether correctly I do, what I open one modal dialogue from other modal dialogue? If it is correct, what singularities of discovery of one modal dialogue from other modal dialogue exist? If is not present (that is it is impossible to open from one modal dialogue other modal dialogue) how to arrive in this case - for example, what dialogue from these two to open in a non-modal mode, etc.?