Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Switching between standard and tabbed MDI surface
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Switching between standard and tabbed MDI surface

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

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: Switching between standard and tabbed MDI surface
    Posted: 14 December 2006 at 2:42pm
Hi;
 
Does anyone know what to do to let the user switch between tabbed and standard MDI representation?
Switching the first time from standard to tabbed interface is simple: just call CXTPTabClientWnd::Attach().
But trying to switch back is not obvious. I know that a few WS_xxx styles have to be set. But then...????
All I get is a messy app GUI.
 
Any help is welcome
 
Martin
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2006 at 6:50am
Hi;
 
Has no one ever solved this? Any hints are really welcome!!
 
Martin
Back to Top
garylyb View Drop Down
Newbie
Newbie


Joined: 23 August 2006
Status: Offline
Points: 17
Post Options Post Options   Thanks (0) Thanks(0)   Quote garylyb Quote  Post ReplyReply Direct Link To This Post Posted: 17 December 2006 at 8:44am
 
Here's my code:
 
 
void CMainFrame::OnOutertabsToggletabson(){

bShowTabs = bShowTabs ^ 1;

m_MTIClientWnd.ShowWorkspace(bShowTabs);

}

These are 2 mainframe variables:
 
BOOL bShowTabs;
CXTPTabClientWnd m_MTIClientWnd;
 
 
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 19 December 2006 at 2:57am
Originally posted by garylyb garylyb wrote:

 
Here's my code:
 
 
void CMainFrame::OnOutertabsToggletabson(){

bShowTabs = bShowTabs ^ 1;

m_MTIClientWnd.ShowWorkspace(bShowTabs);

}

These are 2 mainframe variables:
 
BOOL bShowTabs;
CXTPTabClientWnd m_MTIClientWnd;
 
 
 
Hi;
 
I know this possibility, but in case of enabled groups, this won't work!
Perhaps my initial post did not bring this to your attention.
 
So once again I'm looking for any hints on how to toggle between groups enabled tabbed MDI look and standard MDI representation of child windows.
 
But nevertheless thanks for your effort...
 
Martin
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1210
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 27 December 2006 at 9:00am
Hi;
 
I'm still looking for any hints on how to toggle between groups enabled tabbed MDI look and standard MDI representation of child windows.
Any ideas???? 
 
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.