Print Page | Close Window

Remove Pane1 container in Sample Code

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=21785
Printed Date: 11 September 2025 at 8:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Remove Pane1 container in Sample Code
Posted By: altair
Subject: Remove Pane1 container in Sample Code
Date Posted: 11 July 2013 at 11:52pm
Hi all. Sorry I'm still new to codejock. I started a project from the examples. I've setup all my panes and now I wanted to remove the gray area with the mdi stuff created by the sample code but failed to do so. I managed to remove the Pane1 doc in the picture by commenting out the following code
#if 0 /// UNUSED ?
	CMultiDocTemplate* pDocTemplate;
	pDocTemplate = new CMultiDocTemplate(IDR_PaneTYPE,
		RUNTIME_CLASS(CPaneDoc),
		RUNTIME_CLASS(CChildFrame), // custom MDI child frame
		RUNTIME_CLASS(CPaneView));
	AddDocTemplate(pDocTemplate);
#endif
but the space (dark gray container) where it lies in is still there... How do I remove it? (so the log window below seamlessly is connected to the panes on top. Thanks.



Replies:
Posted By: mgampi
Date Posted: 17 July 2013 at 2:16am
Hi;

Try to create a single document application or just don't use doc/view architecture at all and create your own frame content. The gray area shown is the MDI area of the frame (MDI frame window).



-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



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