<?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 Render Using CXTPPaintManager</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : How to Render Using CXTPPaintManager]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 03 Apr 2026 21:52:59 +0000</pubDate>
  <lastBuildDate>Fri, 08 Jun 2007 01:13:22 +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=7326</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 Render Using CXTPPaintManager : Hello, Yes, you have right code.  In...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7326&amp;PID=23510&amp;title=how-to-render-using-cxtppaintmanager#23510</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 7326<br /><strong>Posted:</strong> 08 June 2007 at 1:13am<br /><br /><DIV>Hello,</DIV><DIV>Yes, you have right code.</DIV><DIV>&nbsp;</DIV><DIV>In Offfice2003 theme not Selected/pressed state draws nothing. try to set bSelected parameter to TRUE.</DIV>]]>
   </description>
   <pubDate>Fri, 08 Jun 2007 01:13:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7326&amp;PID=23510&amp;title=how-to-render-using-cxtppaintmanager#23510</guid>
  </item> 
  <item>
   <title><![CDATA[How to Render Using CXTPPaintManager :  I am creating a new control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=7326&amp;PID=23502&amp;title=how-to-render-using-cxtppaintmanager#23502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3056">jmatthias</a><br /><strong>Subject:</strong> 7326<br /><strong>Posted:</strong> 07 June 2007 at 1:58pm<br /><br /><DIV>&nbsp;</DIV><DIV>I am creating a new control from scratch (similar to the Outlook pager). I would like to use the CXTPPaintManager to render certain parts of my control but I can't find any examples for how to go about doing this.</DIV><DIV>&nbsp;</DIV><DIV>What is the correct way to get an instance of CXTPPaintManager? I am currently using:</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#010001 size=2>m_pPaintManager</FONT><FONT size=2> = </FONT><FONT color=#010001 size=2>CXTPPaintManager</FONT><FONT size=2>::</FONT><FONT color=#010001 size=2>CreateTheme</FONT><FONT size=2>(</FONT><FONT color=#010001 size=2>xtpThemeOffice2003</FONT><FONT size=2>);</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Is this correct?</FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>When I use the paint manager like this:</FONT></DIV><DIV><FONT size=2><FONT color=#0000ff size=2></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT color=#0000ff size=2>void</FONT><FONT size=2> </FONT><FONT color=#010001 size=2>CFooBar</FONT><FONT size=2>::</FONT><FONT color=#010001 size=2>OnPaint</FONT><FONT size=2>()</FONT></FONT></DIV><DIV><FONT size=2><FONT size=2>{</FONT></FONT></DIV><DIV><FONT size=2><FONT color=#010001 size=2>&nbsp; CPaintDC</FONT><FONT size=2> </FONT><FONT color=#010001 size=2>dc</FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2>this</FONT><FONT size=2>); </FONT><FONT color=#008000 size=2>// device context for painting</FONT></FONT></DIV><DIV><FONT size=2><FONT color=#008000 size=2>&nbsp; </FONT></FONT></DIV><DIV><FONT size=2><FONT color=#008000 size=2><FONT color=#010001 size=2>&nbsp; m_pPaintManager</FONT><FONT color=#000000 size=2>-&gt;</FONT><FONT color=#010001 size=2>DrawRectangle</FONT><FONT color=#000000 size=2>(&amp;</FONT><FONT color=#010001 size=2>dc</FONT><FONT color=#000000 size=2>, </FONT><FONT color=#010001 size=2>rectCaption</FONT><FONT color=#000000 size=2>, </FONT><FONT color=#010001 size=2>FALSE</FONT><FONT color=#000000 size=2>,F</FONT><FONT color=#010001 size=2>ALSE</FONT><FONT color=#000000 size=2>,</FONT><FONT color=#010001 size=2>TRUE</FONT><FONT color=#000000 size=2>, </FONT><FONT color=#010001 size=2>FALSE</FONT><FONT color=#000000 size=2>, </FONT><FONT color=#010001 size=2>FALSE</FONT><FONT color=#000000 size=2>, </FONT><FONT color=#010001 size=2>xtpBarTypeNormal</FONT><FONT color=#000000 size=2>, </FONT><FONT color=#010001 size=2>xtpBarLeft</FONT><FONT size=2><FONT color=#000000>);</FONT></FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT color=#008000 size=2><FONT color=#000000>}</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT color=#008000 size=2><FONT color=#000000></FONT></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT color=#008000 size=2><FONT color=#000000>I don't get a rectangle drawn.</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT color=#008000 size=2><FONT color=#000000></FONT></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT color=#008000 size=2><FONT color=#000000>Can anybody help?</FONT></FONT></FONT></DIV><DIV><FONT size=2><FONT color=#008000 size=2><FONT color=#000000></FONT></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2><FONT color=#008000 size=2><FONT color=#000000>Joel</FONT></DIV></FONT></FONT>]]>
   </description>
   <pubDate>Thu, 07 Jun 2007 13:58:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=7326&amp;PID=23502&amp;title=how-to-render-using-cxtppaintmanager#23502</guid>
  </item> 
 </channel>
</rss>