<?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 : CXTPControl colors</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : CXTPControl colors]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 05:31:36 +0000</pubDate>
  <lastBuildDate>Sat, 02 Sep 2006 09:05: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=4829</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[CXTPControl colors : Hi,  You can create custom button:  class...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4829&amp;PID=15430&amp;title=cxtpcontrol-colors#15430</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 4829<br /><strong>Posted:</strong> 02 September 2006 at 9:05am<br /><br />Hi, <DIV>You can create custom button:</DIV><DIV>&nbsp;</DIV><DIV>class <SPAN ="highlight">CMyButton</SPAN>&nbsp;: public <SPAN ="highlight">CXTPControlButton</SPAN><BR>{ <BR>DECLARE_XTP_CONTROL(<SPAN ="highlight">CMyButton</SPAN>&nbsp;) <BR>public: void Draw(CDC* pDC); <BR>}; <BR></DIV><DIV>in cpp: </DIV><DIV>IMPLEMENT_XTP_CONTROL(<SPAN ="highlight">CMyButton</SPAN>&nbsp;, <SPAN ="highlight"><SPAN ="highlight">CXTPControlButton</SPAN></SPAN>) </DIV><DIV>void <SPAN ="highlight">CMyButton</SPAN>&nbsp;::Draw(CDC* pDC) <BR>{</DIV><DIV>&nbsp;&nbsp; //fill background and call base class:&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; pDC-&gt;FillSolidRect(GetRect(), 0xFF);<BR><SPAN ="highlight"><SPAN ="highlight"><SPAN ="highlight">&nbsp;&nbsp;&nbsp; CXTPControlButton</SPAN></SPAN></SPAN>::Draw(CDC* pDC)</DIV><DIV>} <BR></DIV><DIV>&nbsp;</DIV><DIV>and use it:</DIV><DIV><DIV>CXTPControl* pC = new CMyButton();</DIV></DIV>]]>
   </description>
   <pubDate>Sat, 02 Sep 2006 09:05:22 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4829&amp;PID=15430&amp;title=cxtpcontrol-colors#15430</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControl colors : help please. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4829&amp;PID=15429&amp;title=cxtpcontrol-colors#15429</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=214">winxp</a><br /><strong>Subject:</strong> 4829<br /><strong>Posted:</strong> 02 September 2006 at 8:32am<br /><br />help please.]]>
   </description>
   <pubDate>Sat, 02 Sep 2006 08:32:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4829&amp;PID=15429&amp;title=cxtpcontrol-colors#15429</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPControl colors : Hello,  I&amp;#039;m using the following...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4829&amp;PID=15027&amp;title=cxtpcontrol-colors#15027</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=214">winxp</a><br /><strong>Subject:</strong> 4829<br /><strong>Posted:</strong> 18 August 2006 at 9:39am<br /><br />Hello,<DIV>&nbsp;</DIV><DIV>I'm using the following code:</DIV><DIV>CXTPControl* pC = (CXTPControl*)CXTPControlButton::CreateObject();</DIV><DIV>&nbsp;</DIV><DIV>And its ok. What I need, is to change the background color of the CXTPControl.</DIV><DIV>&nbsp;</DIV><DIV>Is it possible ?</DIV><DIV>&nbsp;</DIV><DIV>Regards</DIV>]]>
   </description>
   <pubDate>Fri, 18 Aug 2006 09:39:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4829&amp;PID=15027&amp;title=cxtpcontrol-colors#15027</guid>
  </item> 
 </channel>
</rss>