Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Ribbon MDI issue
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon MDI issue

 Post Reply Post Reply
Author
Message
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon MDI issue
    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!
 
uploads/20080828_040844_Problem_RibbonM.zip
 
How do I resolve this "MDI restore"-issue? Thanks!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
znakeeye View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 July 2006
Status: Offline
Points: 1672
Post Options Post Options   Thanks (0) Thanks(0)   Quote znakeeye Quote  Post ReplyReply Direct Link To This Post 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?

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.125 seconds.