Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Remove Pane1 container in Sample Code
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Remove Pane1 container in Sample Code

 Post Reply Post Reply
Author
Message
altair View Drop Down
Newbie
Newbie


Joined: 26 June 2013
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote altair Quote  Post ReplyReply Direct Link To This Post Topic: Remove Pane1 container in Sample Code
    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.
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1206
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.