![]() |
Switching between standard and tabbed MDI surface |
Post Reply
|
| Author | |
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Topic: Switching between standard and tabbed MDI surfacePosted: 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
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 December 2006 at 6:50am |
|
Hi;
Has no one ever solved this? Any hints are really welcome!!
Martin
|
|
![]() |
|
garylyb
Newbie
Joined: 23 August 2006 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
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;
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 December 2006 at 2:57am |
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
|
|
![]() |
|
mgampi
Senior Member
Joined: 14 July 2003 Status: Offline Points: 1210 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |