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

adding document/view to dialog based application

Status
Not open for further replies.

DeCoDeR

Programmer
Jun 4, 2002
37
US
how can i add document/view support to my dialog based application ?

Read between the lines
 
The simplest way is to build a Document/View application using the App Wizard and choose CFormView Parent class for your view. CFormView uses a dialog resource for its client window. I would not recommend trying to add Doc/View support to a Dialog based application. It can be done of course, but it would require much more effort.

-pete
 
Create MDI forms.

Hi, forum i would like to know.

1º how can I create a MDI open a Mdi FormView (not dialog).

2º When i create the MFC aplication with MDI and when I start the application it ask me what form I whant ,how can I put the form that I want by default in "InitInstance()"



Best regards

PJM
 
PJM, Visual C++ does not have forms like VB and Access. MFC does have a CFormView class but it is based on a dialog. So since your post says (not dialog) it's not possible i guess.

If you want to learn more about using CFormView in VC++ go to msdn.microsoft.com and search. You will find tutorials based on using CFormView.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top