how to open dialog from other dialog box
-
usman_070 wrote:
how to open a dialog box from another dialog box using MFC
CDialog aDialog(IDD_DIALOG1);//IDD_DIALOG1 is the resource id of the dialog.
aDialog.DoModal();//show a modal dialog.or
CDialog aDialog;aDialog.Create(IDD_DIALOG1, this);//IDD_DIALOG1 is the resource id of the dialog
aDialog.ShowWindow(SW_SHOW);//show modeless dialog
Nibu thomas A Developer Programming tips[^] My site[^]
-
Can you be more specific m_Dialog2.DoModal or create in dialog1 like this m_Dialog2.Create(IDD_Dialog2,0); then you can use m_Dialog2.ShowWindow(1); or m_Dialog2.ShowWindow(0);_**
**_
whitesky
-
usman_070 wrote:
how to open a dialog box from another dialog box using MFC
CDialog aDialog(IDD_DIALOG1);//IDD_DIALOG1 is the resource id of the dialog.
aDialog.DoModal();//show a modal dialog.or
CDialog aDialog;aDialog.Create(IDD_DIALOG1, this);//IDD_DIALOG1 is the resource id of the dialog
aDialog.ShowWindow(SW_SHOW);//show modeless dialog
Nibu thomas A Developer Programming tips[^] My site[^]
it seems that we are near in seconds:)_**
**_
whitesky