Print Page | Close Window

[Bug] SetTheme

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=17425
Printed Date: 15 August 2022 at 10:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [Bug] SetTheme
Posted By: ABuenger
Subject: [Bug] SetTheme
Date Posted: 14 October 2010 at 10:03am
SetTheme() will reset tab position to the bottom.

OK:
m_paneManager.SetTheme(xtpPaneThemeOffice2003);
m_paneManager.GetPaintManager()->GetTabPaintManager()->SetPosition(xtpTabPositionTop);

BAD:
m_paneManager.GetPaintManager()->GetTabPaintManager()->SetPosition(xtpTabPositionTop);
m_paneManager.SetTheme(xtpPaneThemeOffice2003);

Actually all CXTPDockingPanePaintManager settings are affected. The new paint manager should use the settings from the previous one.



-------------
Codejock support



Replies:
Posted By: awake
Date Posted: 10 June 2011 at 6:12am
I also found something abnormally .You can see my topic "pane can not be built".
 
the solution is too odd.



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