<?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 : how to skin CXTCaption ?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : how to skin CXTCaption ?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 04 Apr 2026 03:39:01 +0000</pubDate>
  <lastBuildDate>Mon, 30 Jul 2007 08:57:55 +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=7661</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[how to skin CXTCaption ? : This is how it looks now, and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24756&amp;title=how-to-skin-cxtcaption#24756</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 30 July 2007 at 8:57am<br /><br /><DIV>This is how it looks now, and any theme I apply to it remains the same, just the font size, font color and background&nbsp;color is changing.</DIV><DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/temp/20070730_085520_capti&#111;nbar.JPG" border="0"></DIV><DIV>&nbsp;</DIV><DIV>here is the initialization code</DIV><DIV>&nbsp;</DIV><DIV><FONT size=2><P>BOOL CMainFrame::InitializeCaptionBar()</P><P>{</P><P></FONT><FONT color=#0000ff size=2>if</FONT><FONT size=2> (!m_wndCaption.Create(&amp;m_wndSplitter2, _T(</FONT><FONT color=#a31515 size=2>"System Overview"</FONT><FONT size=2>), NULL,</P><P>WS_VISIBLE|SS_CENTER|SS_CENTERIMAGE, CRect(0,0,0,0), m_wndSplitter2.IdFromRowCol(0, 0)))</P><P>{</P><P>TRACE0(</FONT><FONT color=#a31515 size=2>"Failed to caption window.\n"</FONT><FONT size=2>);</P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> FALSE;</P><P>}</P><P>HICON hIcon = AfxGetApp()-&gt;LoadIcon(IDI_SYSTEM_OVERVIEW);</P><P>m_wndCaption.SetTheme(xtThemeOffice2003); </P><P></FONT><FONT color=#008000 size=2>// set the caption colors.</P></FONT><FONT size=2><P>m_wndCaption.SetCaptionColors (GetXtremeColor(COLOR_3DFACE),</P><P>GetXtremeColor(COLOR_3DSHADOW), GetXtremeColor(COLOR_WINDOW) );</P><P>LOGFONT lf;</P><P>XTAuxData().fontBold.GetLogFont(&amp;lf);</P><P>lf.lfHeight = 25; </P><P></P><P>m_fontCaption.CreateFontIndirect(&amp;lf);</P><P></FONT><FONT color=#008000 size=2>// set the font and initial icon.</P></FONT><FONT size=2><P>m_wndCaption.ModifyCaptionStyle(0,</P><P>&amp;m_fontCaption, NULL, hIcon);</P><P></P><P></FONT><FONT color=#008000 size=2>// Sizing for splitter</P></FONT><FONT size=2><P>m_wndSplitter2.SetRowInfo (0, 28, 0);</P><P></P><P></P><P></FONT><FONT color=#0000ff size=2>return</FONT><FONT size=2> TRUE;</P><P>}</P></FONT></DIV>]]>
   </description>
   <pubDate>Mon, 30 Jul 2007 08:57:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24756&amp;title=how-to-skin-cxtcaption#24756</guid>
  </item> 
  <item>
   <title><![CDATA[how to skin CXTCaption ? :  m_wndCaption.SetTheme(xtThemeOffice2003);...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24755&amp;title=how-to-skin-cxtcaption#24755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 30 July 2007 at 8:54am<br /><br /><FONT size=2><P>m_wndCaption.SetTheme(xtThemeOffice2003);&nbsp; has no effect at all on the background color.</P><DIV></DIV><DIV></DIV>thanks jimmy&nbsp;for the icon size tip.</FONT>]]>
   </description>
   <pubDate>Mon, 30 Jul 2007 08:54:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24755&amp;title=how-to-skin-cxtcaption#24755</guid>
  </item> 
  <item>
   <title><![CDATA[how to skin CXTCaption ? : Set in our derive constructor...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24751&amp;title=how-to-skin-cxtcaption#24751</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 30 July 2007 at 8:12am<br /><br />Set in our derive constructor<br>&nbsp;&nbsp;&nbsp; m_sizeIcon.cx = 32;<br>&nbsp;&nbsp;&nbsp; m_sizeIcon.cy = 32;<br><br>&nbsp;&nbsp;&nbsp; Jimmy<br><br>PS: Look into the source XTCaption.cpp<br><br><br>]]>
   </description>
   <pubDate>Mon, 30 Jul 2007 08:12:18 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24751&amp;title=how-to-skin-cxtcaption#24751</guid>
  </item> 
  <item>
   <title><![CDATA[how to skin CXTCaption ? : Hi,  You can call m_wndCapti...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24750&amp;title=how-to-skin-cxtcaption#24750</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 30 July 2007 at 8:02am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You can call &nbsp;m_wndCaption.SetTheme(xtThemeOffice2003); to use gradient colors.</DIV>]]>
   </description>
   <pubDate>Mon, 30 Jul 2007 08:02:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24750&amp;title=how-to-skin-cxtcaption#24750</guid>
  </item> 
  <item>
   <title><![CDATA[how to skin CXTCaption ? : also how can I change the caption...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24722&amp;title=how-to-skin-cxtcaption#24722</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 28 July 2007 at 8:54am<br /><br />also how can I change the caption icon to make it bigger ?<DIV>I use this line to extract an icon from an imagelist with large icons</DIV><FONT size=2><P>m_wndCaption.UpdateCaption(m_xRes.LoadString(IDS_SYS_TITLE_OS), m_ImageLarge.ExtractIcon(1));</P><P>but the icons are drawn to small on the caption bar</FONT></P>]]>
   </description>
   <pubDate>Sat, 28 Jul 2007 08:54:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24722&amp;title=how-to-skin-cxtcaption#24722</guid>
  </item> 
  <item>
   <title><![CDATA[how to skin CXTCaption ? : I want the background to be drawn...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24691&amp;title=how-to-skin-cxtcaption#24691</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 26 July 2007 at 7:47am<br /><br />I want the background to be drawn with a gradient instead of fixed color.]]>
   </description>
   <pubDate>Thu, 26 Jul 2007 07:47:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24691&amp;title=how-to-skin-cxtcaption#24691</guid>
  </item> 
  <item>
   <title><![CDATA[how to skin CXTCaption ? : Hello, You can derive from CXTCaption...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24687&amp;title=how-to-skin-cxtcaption#24687</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 26 July 2007 at 7:10am<br /><br />Hello,<DIV>You can derive from CXTCaption and override its DrawCaptionBack method.</DIV><DIV>&nbsp;</DIV><DIV>How do you want to skin it ?</DIV>]]>
   </description>
   <pubDate>Thu, 26 Jul 2007 07:10:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24687&amp;title=how-to-skin-cxtcaption#24687</guid>
  </item> 
  <item>
   <title><![CDATA[how to skin CXTCaption ? : I am talking about this caption,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24670&amp;title=how-to-skin-cxtcaption#24670</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 25 July 2007 at 12:05pm<br /><br />I am talking about this caption, from an outlookbar type frame.<DIV>&nbsp;</DIV><DIV><img src="https://forum.codejock.com/uploads/20070725_120449_Capti&#111;n.JPG" border="0"></DIV>]]>
   </description>
   <pubDate>Wed, 25 Jul 2007 12:05:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24670&amp;title=how-to-skin-cxtcaption#24670</guid>
  </item> 
  <item>
   <title><![CDATA[how to skin CXTCaption ? : how can I change the skin to CXTCaption...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24663&amp;title=how-to-skin-cxtcaption#24663</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3171">evoX</a><br /><strong>Subject:</strong> 7661<br /><strong>Posted:</strong> 25 July 2007 at 11:09am<br /><br />how can I change the skin to CXTCaption ?<DIV>there is no sample in the library to demonstrate this.</DIV><DIV>&nbsp;</DIV><DIV>thanks !</DIV>]]>
   </description>
   <pubDate>Wed, 25 Jul 2007 11:09:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7661&amp;PID=24663&amp;title=how-to-skin-cxtcaption#24663</guid>
  </item> 
 </channel>
</rss>