<?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 : Disabled static text color</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Skin Framework : Disabled static text color]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 16:46:04 +0000</pubDate>
  <lastBuildDate>Wed, 18 Aug 2010 07:39:42 +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=17121</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[Disabled static text color : Hi,  Did you try change GrayText...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17121&amp;PID=59812&amp;title=disabled-static-text-color#59812</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 17121<br /><strong>Posted:</strong> 18 August 2010 at 7:39am<br /><br />Hi,<br /><br />Did you try change GrayText property from Sysmetrics ?]]>
   </description>
   <pubDate>Wed, 18 Aug 2010 07:39:42 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17121&amp;PID=59812&amp;title=disabled-static-text-color#59812</guid>
  </item> 
  <item>
   <title><![CDATA[Disabled static text color : Hello,in the windows static control...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17121&amp;PID=59803&amp;title=disabled-static-text-color#59803</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=233">jimmy</a><br /><strong>Subject:</strong> 17121<br /><strong>Posted:</strong> 18 August 2010 at 3:40am<br /><br />Hello,<br><br>in the windows static control is a bug.<br>if you disable the static text, WM_PAINT is not call. the static control would paint it directly.<br>my solution for this, is to add in the WM_ENABLEWINDOW message <br><br>OnEnableWindow(BOOL bEnable)<br>{<br>&nbsp; if (bEnable == FALSE)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; LockWindowsUpdate(GetSafeHwnd());<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; __super::OnEnableWindows(bEnable);<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; UnlockWindowsUpdate(GetSafeHwnd());<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Invalidate(TRUE);<br>&nbsp;&nbsp;&nbsp; }<br>}<br><br>&nbsp; Jimmy<br>]]>
   </description>
   <pubDate>Wed, 18 Aug 2010 03:40:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17121&amp;PID=59803&amp;title=disabled-static-text-color#59803</guid>
  </item> 
  <item>
   <title><![CDATA[Disabled static text color : Hi I want to set the text color...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17121&amp;PID=59797&amp;title=disabled-static-text-color#59797</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5967">bsil</a><br /><strong>Subject:</strong> 17121<br /><strong>Posted:</strong> 17 August 2010 at 7:43am<br /><br />Hi<DIV>I want to set the text color for disabled static text, </DIV><DIV>Please guide which property need to be modified </DIV>]]>
   </description>
   <pubDate>Tue, 17 Aug 2010 07:43:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17121&amp;PID=59797&amp;title=disabled-static-text-color#59797</guid>
  </item> 
 </channel>
</rss>