Print Page | Close Window

Ribbon MDI issue

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=12005
Printed Date: 11 June 2024 at 1:42pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon MDI issue
Posted By: znakeeye
Subject: Ribbon MDI issue
Date Posted: 28 August 2008 at 4:09am
XTP 12.0.1, VS 2008 SP1
 
I've pin-pointed this issue before. See attached sample project and follow the instructions in the message box to reproduce problem!
 
http://forum.codejock.com/uploads/20080828_040844_Problem_RibbonM.zip - uploads/20080828_040844_Problem_RibbonM.zip
 
How do I resolve this "MDI restore"-issue? Thanks!



Replies:
Posted By: Oleg
Date Posted: 28 August 2008 at 7:38am
Hi,
 
You don't allow show child frame maximized...
 
remove your lines 

//cs.style &= ~(WS_MAXIMIZEBOX | WS_MINIMIZEBOX);



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 28 August 2008 at 3:58pm
Yeah, but how do I prevent minimize/restore? I want my MDI-tabs to be maximized all the time!


Posted By: Oleg
Date Posted: 29 August 2008 at 1:37am
Hi,
 
See Samples\UserInterface\GUI_VisualStudio  sample.
You also can enable TabGroups:

 VERIFY(m_MTIClientWnd.Attach(this, TRUE));

 


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: znakeeye
Date Posted: 29 August 2008 at 9:03am

Yes, but no.

I don't want to show the tabs! Basically, I want an MDI/RibbonTab. For that I don't want that TDI client window! That is, when I choose a tab MFC will automatically switch to my other frame/view/document. No big deal, except that these MDI-children keep restoring themselves as shown in the sample.

Recall my sample above. It should be possible to always force maximized state of the windows! How?




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