Click to See Complete Forum and Search --> : Document with NO view?? Possible?


Volkan
October 5th, 1999, 12:38 PM
Is there any way to have a document open and have no view for it?

Thanks,

-V-

namit swaroop
October 5th, 1999, 01:55 PM
1. >>Is there any way to have a document open and >>have no view for it?
What is "open" means ??
2. CDocument::RemoveView call can be used to remove a view from existing doc .
3. If u r interested to remove view or doc or both refer this -

http://msdn.microsoft.com/library/devprods/vs6/visualc/vccore/_core_alternatives_to_the_document.2f.view_architecture.htm

Reagrds
Namit

Volkan
October 5th, 1999, 03:05 PM
Thanks for the info.

Here's what I'm trying to do.

I have an app that does the following:
1) launches another app that dumps data into data files
2) parses these data files and stores their contents in records
3) creates graph windows that plot the data in the records

Currently I have 1 document with 3 different views. 1 view is a form view that is used to modify the name of the "database" (where all the records are stored) and 2 kinds of views for different kinds of graphs.
-1 window is created for UI for view #1
-many windows are created for both views 2 and 3

I originally had the window for view 1 in it's own window (not an mdi child window), but then this window had its own title bar icon (I didn't want this) and was no longer a chile of the main window.
I put the window back inside the main window but this looks horrible since it's a form view and can't be resized (so tiling looks bad)

Is there any way I can open one of my "database" files and put and equivalent of the UI for it in a control bar/dialog bar? Hence, no standard view.
When I open the app and load a database file, I do not want a database info window (view #1) to appear then suddenly dissapear. That's what I've been unable to avoid.

Thanks.

-V-