Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to force side docked pane to have caption?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to force side docked pane to have caption?

 Post Reply Post Reply
Author
Message Reverse Sort Order
maxxan View Drop Down
Groupie
Groupie


Joined: 15 July 2009
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote maxxan Quote  Post ReplyReply Direct Link To This Post Topic: How to force side docked pane to have caption?
    Posted: 14 March 2011 at 10:36am
Solution: Add this line to the paint manager:
m_paneManager.GetPaintManager()->GetPanelPaintManager()->SetLayout(xtpTabLayoutAutoSize);
Back to Top
maxxan View Drop Down
Groupie
Groupie


Joined: 15 July 2009
Status: Offline
Points: 49
Post Options Post Options   Thanks (0) Thanks(0)   Quote maxxan Quote  Post ReplyReply Direct Link To This Post Posted: 07 March 2011 at 9:40am
I'm using Office theme, and if I've got some panes docked together, and then unpin them, the are grouped to the side of the frame.

The problem is that only the caption of the first pane is visible. I guess the others are trying to display an icon instead. But since I don't have any icon it becomes invisible.

Is there a way to tell pane manager to use the caption when unpinning, like Visual studio theme does?
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.062 seconds.