Print Page | Close Window

How to force side docked pane to have caption?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=18011
Printed Date: 20 August 2022 at 2:02am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to force side docked pane to have caption?
Posted By: maxxan
Subject: How to force side docked pane to have caption?
Date 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?



Replies:
Posted By: maxxan
Date Posted: 14 March 2011 at 10:36am
Solution: Add this line to the paint manager:
m_paneManager.GetPaintManager()->GetPanelPaintManager()->SetLayout(xtpTabLayoutAutoSize);



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net