MFC
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
i have two dialog boxes dialog1 and dialog2.when i click on the ok button of dialog1 i wnat to display dialog2 window.how do i do it
-
i have two dialog boxes dialog1 and dialog2.when i click on the ok button of dialog1 i wnat to display dialog2 window.how do i do it
Here ...
CDialog1 Dlg1;
if (IDOK == Dlg1.DoModal())
{
CDialog2 Dlg2;
Dlg2.DoModal();
}Best regards, Eugene Pustovoyt
-
i have two dialog boxes dialog1 and dialog2.when i click on the ok button of dialog1 i wnat to display dialog2 window.how do i do it
in the button event handler of dialog 1, do this dialog2 dlg; dlg.DoModal(); //you need to inlcude the header file of the dialo2 I Touched Osama Bin Ladens Bushy Beard