<?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 : Painting command bar area background?</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Painting command bar area background?]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 06:27:39 +0000</pubDate>
  <lastBuildDate>Fri, 11 Jun 2010 10:11:40 +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=16814</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[Painting command bar area background? : Doesn&amp;#039;t matter, I&amp;#039;ve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16814&amp;PID=58896&amp;title=painting-command-bar-area-background#58896</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6081">wssdev</a><br /><strong>Subject:</strong> 16814<br /><strong>Posted:</strong> 11 June 2010 at 10:11am<br /><br /><font face="Verdana, Arial, Helvetica, sans-serif"><br>Doesn't matter, I've found it.<br><br><br><font face="Courier New, Courier, mono">class MyPaintManager : public CXTPPaintManager<br>{</font><br></font><div ="" title="Page Scroll Marker" id="PageScrollMarkerFriJun112010160547GMT0200RomanceDaylightTime"><div style="top: 0px;">&#9660;</div><div style="bottom: 0px;">&#9650;</div></div><title>Snippet</title><pre style="font-family: c&#111;nsolas;"><font face="Verdana, Arial, Helvetica, sans-serif"><font face="Courier New, Courier, mono"><span style="color: blue;">    virtual void</span> My<span style="color: rgb(1, 0, 1);">PaintManager</span>::<span style="color: rgb(1, 0, 1);">FillDockBar</span>(<span style="color: rgb(1, 0, 1);">CDC</span>*&nbsp;<span style="color: rgb(1, 0, 1);">pDC</span>,&nbsp;<span style="color: rgb(1, 0, 1);">CXTPDockBar</span>*&nbsp;<span style="color: rgb(1, 0, 1);">pBar</span>)<br>    {<br>        <span style="color: rgb(1, 0, 1);">pDC</span>-&gt;<span style="color: rgb(1, 0, 1);">FillSolidRect</span>(<span style="color: rgb(1, 0, 1);">CXTPClientRect</span>((<span style="color: rgb(1, 0, 1);">CWnd</span>*)<span style="color: rgb(1, 0, 1);">pBar</span>), <b>&lt;COLORREF color&gt;</b> );<br>    }</font><br><br>...<br></font></pre><font face="Verdana, Arial, Helvetica, sans-serif"><br></font>]]>
   </description>
   <pubDate>Fri, 11 Jun 2010 10:11:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16814&amp;PID=58896&amp;title=painting-command-bar-area-background#58896</guid>
  </item> 
  <item>
   <title><![CDATA[Painting command bar area background? : (XTP 10.31)I am trying to figure...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16814&amp;PID=58893&amp;title=painting-command-bar-area-background#58893</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6081">wssdev</a><br /><strong>Subject:</strong> 16814<br /><strong>Posted:</strong> 11 June 2010 at 6:39am<br /><br /><br>(<b>XTP 10.31</b>)<br><br>I am trying to figure how to paint myself the parts of the area marked red in the picture below:<br><br><br><div ="active" title="Page Scroll Marker" id="PageScrollMarkerFriJun112010122206GMT0200RomanceDaylightTime"><div style="top: 0px;">&#9660;</div><div style="bottom: 0px;">&#9650;</div></div><img src="uploads/20100611_062404_2010-06-11_12_1.png" height="103" width="729" border="0"><br><br>I have intentionally moved the 2nd command bar to the right to show that I'm looking for that background (currently gray) color. It might not be obvious from the picture, but it is the same color and essentially the same area.<br><br>I have my own CXTPTabPaintManager and CXTPDefaultTheme-derived classes, but there don't seem to be any virtual methods which I could override in order to paint that part of (let's call it like that) the command bar area. <br><br>In fact, I'm not even sure that the above area actually belongs to command bars, nor that it is painted by those XTP clases. It might well be that it is the CXTPFrameWnd code that does the drawing.<br><br>Any ideas?<br><br>Thanks in advance!<br><br><br><br><br><br><br>]]>
   </description>
   <pubDate>Fri, 11 Jun 2010 06:39:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16814&amp;PID=58893&amp;title=painting-command-bar-area-background#58893</guid>
  </item> 
 </channel>
</rss>