Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - [Bug] SetTheme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Bug] SetTheme

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: [Bug] SetTheme
    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
Back to Top
awake View Drop Down
Groupie
Groupie


Joined: 22 March 2011
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote awake Quote  Post ReplyReply Direct Link To This Post 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.
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.156 seconds.