<?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 : Colours (Simple Question)</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Toolkit Pro : Colours (Simple Question)]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 11 Jun 2026 06:38:24 +0000</pubDate>
  <lastBuildDate>Wed, 23 Jul 2008 05:08:32 +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=11549</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[Colours (Simple Question) :   mgampi wrote:Hi Simon;take...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11549&amp;PID=38754&amp;title=colours-simple-question#38754</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 11549<br /><strong>Posted:</strong> 23 July 2008 at 5:08am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by mgampi" alt="Originally posted by mgampi" style="vertical-align: text-bottom;" /> <strong>mgampi wrote:</strong><br /><br />Hi Simon;<BR><BR>take a look at Win-API function<BR><BR><PRE ="clsSyntax">HRESULT&nbsp;GetThemeColor(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;HTHEME&nbsp;<I>hTheme</I>,<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;<I>iPartId</I>,<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;<I>iStateId</I>,<BR>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;<I>iPropId</I>,<BR>&nbsp;&nbsp;&nbsp;&nbsp;COLORREF&nbsp;*<I>pColor</I><BR>);</PRE><BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>Martin - many thanks :-)</DIV>]]>
   </description>
   <pubDate>Wed, 23 Jul 2008 05:08:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11549&amp;PID=38754&amp;title=colours-simple-question#38754</guid>
  </item> 
  <item>
   <title><![CDATA[Colours (Simple Question) : Hi Simon;take a look at Win-API...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11549&amp;PID=38752&amp;title=colours-simple-question#38752</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=109">mgampi</a><br /><strong>Subject:</strong> 11549<br /><strong>Posted:</strong> 23 July 2008 at 4:58am<br /><br />Hi Simon;<br><br>take a look at Win-API function<br><br><pre ="clsSyntax">HRESULT&nbsp;GetThemeColor(&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;HTHEME&nbsp;<i>hTheme</i>,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;<i>iPartId</i>,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;<i>iStateId</i>,<br>&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;<i>iPropId</i>,<br>&nbsp;&nbsp;&nbsp;&nbsp;COLORREF&nbsp;*<i>pColor</i><br>);</pre><br>]]>
   </description>
   <pubDate>Wed, 23 Jul 2008 04:58:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11549&amp;PID=38752&amp;title=colours-simple-question#38752</guid>
  </item> 
  <item>
   <title><![CDATA[Colours (Simple Question) : Hi Oleg,  When a CXTButton is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11549&amp;PID=38748&amp;title=colours-simple-question#38748</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1305">Simon HB9DRV</a><br /><strong>Subject:</strong> 11549<br /><strong>Posted:</strong> 23 July 2008 at 3:45am<br /><br />Hi Oleg,<DIV>&nbsp;</DIV><DIV>When a CXTButton is disabled with EnableWindow(FALSE) how do you compute the colour you draw on the button face? Can I get this colour somehow?</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#990033><EM><strong>This is not important</strong></EM> </FONT>- I would like to get this colour so that I can draw my own controls using the same colour when they are disabled.</DIV><DIV>&nbsp;</DIV><DIV>My controls are at the top and bottom of the attached jpeg.</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/uploads/20080723_034420_Jock010.jpg" border="0"></DIV>]]>
   </description>
   <pubDate>Wed, 23 Jul 2008 03:45:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11549&amp;PID=38748&amp;title=colours-simple-question#38748</guid>
  </item> 
 </channel>
</rss>