![]() |
Ribbon MDI issue |
Post Reply
|
| Author | |
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
Topic: Ribbon MDI issuePosted: 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! |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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!
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
znakeeye
Senior Member
Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Quote Reply
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? |
|
![]() |
|
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 |