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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to load Dialog?

Status
Not open for further replies.

kalaiarasi

Programmer
Joined
Feb 6, 2002
Messages
7
Location
MY
Hi all,

I have 2 dialogs with the class, COneDlg & CTwoDlg. In the COneDlg dialog, I have a button. So, when i click that button, the CTwoDlg dialog must appear.

How can I do this? Pls help.

Regards,
Kalai
 
void COneDlg::OnButton()
{
CTwoDlg MySecondDlg;
MySecondDlg.DoModal();
}
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top