Click here to Skip to main content
15,892,480 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Respected Sir/Mam,
I am not much familiar with VC++. I am doing a project in vc++ where I have 2 forms .On form1 i have taken a push button .I want to open the second form on click of button of 1st form.Please can any1 tell me how to do that in vc++ 6.0? Need it asap. :(
Thanking in advance.
Sonal.
Posted

1 solution

The "forms" you have are Dialogs? or CFormView?

If CDialogs, do you want them as Modal or Modalless dialogs?

Supposing a Modal dialog would be something like...

CDialog dlg1;
int nDlgRet = dlg1.DoModal ();


If not... explain you better.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900