Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling dialog boxes from a base dialog box

Status
Not open for further replies.

hedgracer

Programmer
Mar 21, 2001
186
US
This seems so simple but I am really struggling with this one. I have developed an application based on one parent dialog box(call this NEWDIALOG) and three child dialog boxes(call them CAPLDIALOG, FIXGLDIALOG and CEMSDIALOG). When the user clicks the CAPL button on the NEWDIALOG box I need the CAPLDIALOG box to open. When the user clicks the exit button (the exit button uses the OnOK() function) the CAPLDIALOG box closes and the user is left with the NEWDIALOG box open. I have developed all classes connected with the three child dialog boxes but cannot seem to figure out how to call the child dialog boxes when the user clicks the appropriate button on the parent dialog box. Thanks for all help in advance.

d. christman
 
Do it just like the main dialog is called:

CAplDialog d1 ;

d1.doModal() ;

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top