Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - show dockable tab with only one pane?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

show dockable tab with only one pane?

 Post Reply Post Reply
Author
Message
escher View Drop Down
Newbie
Newbie


Joined: 14 July 2004
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote escher Quote  Post ReplyReply Direct Link To This Post Topic: show dockable tab with only one pane?
    Posted: 14 July 2004 at 1:52pm
i'm using dockable windows and they work fine except for that when i only have one dockable pane/window it doesn't show the tab at the bottom. when two or more panes show up, then the tab bar shows up as well. is there a way to force the tab bar to appear even when there is only one dockable pane?

i'm using:

CXTPDockingPaneManager
and
CXTPTabClientWnd

Back to Top
BruceW View Drop Down
Newbie
Newbie


Joined: 05 April 2006
Location: United Kingdom
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote BruceW Quote  Post ReplyReply Direct Link To This Post Posted: 24 October 2006 at 12:12pm
Hi,

Did you find the answer to ths problem.  I have the same issue.

Thanks,

Bruce.
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 24 October 2006 at 3:47pm
Hi,
Try
 
dp.GetPaintManager()->m_bDrawSingleTab = TRUE;
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
BruceW View Drop Down
Newbie
Newbie


Joined: 05 April 2006
Location: United Kingdom
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote BruceW Quote  Post ReplyReply Direct Link To This Post Posted: 26 October 2006 at 6:23am
Worked.  Thanks.

Another small question if I may.  I am trying to get the selected tab displayed with a bold font.  From one of the examples, I have tried

m_dockManager.GetPaintManager()->GetTabPaintManager()->m_bBoldSelected  = TRUE;

but it does not may any difference.

Thanks,

Bruce.
Back to Top
BruceW View Drop Down
Newbie
Newbie


Joined: 05 April 2006
Location: United Kingdom
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote BruceW Quote  Post ReplyReply Direct Link To This Post Posted: 26 October 2006 at 6:36am
My mistake.  Appears to be working now.
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.063 seconds.