Doc/View displayed when button is pressed on dialog 
Author Message
 Doc/View displayed when button is pressed on dialog

With in VC you can add a new Form very easily, but how do you go about
adding a new Doc/View and then displaying this DOC/View when a user presses
a button on my dialog?

Thanks.



Tue, 17 Aug 2004 07:52:51 GMT  
 Doc/View displayed when button is pressed on dialog
Each doc/view combination can be represented by a document template object that
is created in your app's InitInstance function.  If necessary, add one for the
doc/view you want to create.  Then, from your dialog's button handler, you call
the app's OpenDocumentFile, and it will open the the document with the view in a
new child frame (if MDI) or in the main frame (if SDI).


Tue, 17 Aug 2004 09:23:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. use a dialog button to open a doc/view menu (In tree view)

2. Use a dialog box to open a doc/view menu (in tree view)

3. Getting 2nd Doc/View data from 1st Doc/View

4. Help:Detecting buttons pressed in the view class

5. How use Doc-View to display images?

6. *HELP URGENT...DISPLAYING BITMAP WITH DOC-VIEW ARCHTECTURE (MFC)

7. Displaying JPG Images in a Doc View

8. I am having problems setting up that a specified dialog is displayed before any others

9. Help Edit Tree Item on Keyboard press or button press

10. Button on AboutBox in Doc/View

11. Help Edit Tree Item on Keyboard press or button press

12. Conversion from Dialog-based to Doc-View ?

 

 
Powered by phpBB® Forum Software