Print Page | Close Window

Is this possible:MDI without initial view

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=584
Printed Date: 23 December 2024 at 6:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Is this possible:MDI without initial view
Posted By: ipaqlinux48
Subject: Is this possible:MDI without initial view
Date Posted: 31 March 2004 at 5:02am

Hi,

I'm in the middle of a design session for my application. My application tries to simulate a visual studio environment. My application only uses one document at a time or no document at all (i.e. File/Close is enabled when a document is available). My document can be compared with some kind of solution explorer (i.e. represented by a treeview control). When the user double clicks on a treenode, a new view will be created and showned in the MDI frame window. The solution explorer should be attached to a pane window.

The problem is that when the user opens a document, no initial view may be created. The MDI frame window should be empt, although the solution explorer treeview control should be refreshed. When the user double clicks on a treenode, a new view is created. There can be no more views then there are treenodes. Each treenode represents a single view. These views are all children of the CXTPTabClientWnd.

I've two questions. How do I prevent that an initial view is created when a new document is created. And how do I prevent that a document is closed when the user closes all the views.

Thanks in advance.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net