![]() |
Remove Pane1 container in Sample Code |
Post Reply ![]() |
Author | |
altair ![]() Newbie ![]() Joined: 26 June 2013 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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.
|
|
![]() |
|
mgampi ![]() Senior Member ![]() ![]() Joined: 14 July 2003 Status: Offline Points: 1206 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |