i am new in programming in visual c++ can anyone tell that how can i call one form from other form means by clicking on button first form should disappear and second fom should come on screen in visual c++ 6

Recommended Answers

All 3 Replies

It's visual here but not visual C++ so post your question on the C++ forum.

Member Avatar for jencas

Maybe a CPropertySheet in wizard mode is a solution. Otherwise do the following steps in the button handler of the first dialog:
1. hide your first dialog window
2. call DoModal() of the second dialog
3. on return of DoModal() unhide the first dialog window or call OnCancel() if you don't need the first dialog anymore.

i am new in programming in visual c++ can anyone tell that how can i call one form from other form means by clicking on button first form should disappear and second fom should come on screen in visual c++ 6

No forms in 11-years old Visual C++ 6...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.