<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Floating pane gets wrong skin at program start</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Floating pane gets wrong skin at program start]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 21 May 2026 08:43:14 +0000</pubDate>
  <lastBuildDate>Mon, 16 Nov 2009 19:58:08 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=15618</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Floating pane gets wrong skin at program start : SetThemedFloatingFrames is called...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15618&amp;PID=54907&amp;title=floating-pane-gets-wrong-skin-at-program-start#54907</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15618<br /><strong>Posted:</strong> 16 November 2009 at 7:58pm<br /><br />SetThemedFloatingFrames is called in my Pane-manager derived class's constructor! :(]]>
   </description>
   <pubDate>Mon, 16 Nov 2009 19:58:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15618&amp;PID=54907&amp;title=floating-pane-gets-wrong-skin-at-program-start#54907</guid>
  </item> 
  <item>
   <title><![CDATA[Floating pane gets wrong skin at program start : Hi,  Check that you have SetThemedFloatingFrames()...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15618&amp;PID=54879&amp;title=floating-pane-gets-wrong-skin-at-program-start#54879</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 15618<br /><strong>Posted:</strong> 16 November 2009 at 5:58am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Check that you have SetThemedFloatingFrames() call before you create / load&nbsp;panes.</DIV>]]>
   </description>
   <pubDate>Mon, 16 Nov 2009 05:58:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15618&amp;PID=54879&amp;title=floating-pane-gets-wrong-skin-at-program-start#54879</guid>
  </item> 
  <item>
   <title><![CDATA[Floating pane gets wrong skin at program start : 13.2.1. Inoticed that even though...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15618&amp;PID=54842&amp;title=floating-pane-gets-wrong-skin-at-program-start#54842</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 15618<br /><strong>Posted:</strong> 13 November 2009 at 5:54pm<br /><br />13.2.1.<DIV>I&nbsp;noticed that even though I explicitly load Ribbon + Aqua skin, any floating panes are first drawn in Blue - before the rest of the application is shown! Then, after 1-2 seconds,&nbsp;they are redrawn in the right color (aqua). You could argue that floating panes should not be shown <EM>before </EM>the main frame is shown... hmm?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>I do this in CMainFrame::CMainFrame:</DIV><DIV>XTPOffice2007Images()-&gt;SetHandle(GetSkinModule(), _T("OFFICE2007AQUA.INI"));<BR>XTPSkinManager()-&gt;LoadSkin(NULL, _T("NormalAqua.ini"));</DIV><DIV>&nbsp;</DIV><DIV>I do this in CMainFrame::OnCreate:<BR></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2><DIV>XTPPaintManager</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SetTheme</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>xtpThemeRibbon</FONT></FONT><FONT size=2>);</DIV><DIV></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetCommandBars</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SetTheme</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>xtpThemeRibbon</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>m_paneManager</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>SetTheme</FONT></FONT><FONT size=2>(</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>xtpPaneThemeOffice2007</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>m_paneManager</FONT></FONT><FONT size=2>.</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GetPaintManager</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>RefreshMetrics</FONT></FONT><FONT size=2>();</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Are the images reset at some point?</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Fri, 13 Nov 2009 17:54:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15618&amp;PID=54842&amp;title=floating-pane-gets-wrong-skin-at-program-start#54842</guid>
  </item> 
 </channel>
</rss>