<?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 : WS_CLIPCHILDREN question</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : General Discussion : WS_CLIPCHILDREN question]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 30 Apr 2026 15:59:35 +0000</pubDate>
  <lastBuildDate>Fri, 12 Jun 2009 06:52:43 +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=14506</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[WS_CLIPCHILDREN question : Thanks :P ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14506&amp;PID=49896&amp;title=ws-clipchildren-question#49896</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14506<br /><strong>Posted:</strong> 12 June 2009 at 6:52am<br /><br />Thanks :P]]>
   </description>
   <pubDate>Fri, 12 Jun 2009 06:52:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14506&amp;PID=49896&amp;title=ws-clipchildren-question#49896</guid>
  </item> 
  <item>
   <title><![CDATA[WS_CLIPCHILDREN question : Can be reason void CMainFrame::OnPaint()  { ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14506&amp;PID=49843&amp;title=ws-clipchildren-question#49843</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 14506<br /><strong>Posted:</strong> 11 June 2009 at 7:26am<br /><br /><P>Can be reason</P><DIV>void<FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CMainFrame</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>OnPaint</FONT></FONT><FONT size=2>()</DIV><DIV><DIV>{</DIV><DIV></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp;&nbsp;&nbsp; <strong>CPaintDC</strong> </FONT></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dc</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp;&nbsp;&nbsp; CXTPClientRect</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>rect</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp;&nbsp;&nbsp; XTPDrawHelpers</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GradientFill</FONT></FONT><FONT size=2>(&amp;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dc</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>rect</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>RGB</FONT></FONT><FONT size=2>(192, 192, 192), </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>RGB</FONT></FONT><FONT size=2>(255, 255, 255), </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>FALSE</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT size=2>}</DIV></FONT></DIV>]]>
   </description>
   <pubDate>Thu, 11 Jun 2009 07:26:25 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14506&amp;PID=49843&amp;title=ws-clipchildren-question#49843</guid>
  </item> 
  <item>
   <title><![CDATA[WS_CLIPCHILDREN question :  I have a special CFrameWnd with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14506&amp;PID=49837&amp;title=ws-clipchildren-question#49837</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 14506<br /><strong>Posted:</strong> 11 June 2009 at 5:57am<br /><br /><FONT color=#0000ff size=2><FONT color=#0000ff size=2><DIV><FONT color=#000000>I have a special CFrameWnd with a CXTPButton placed at the upper-right corner (a close button). My problem is that I want to fill the main window with a gradient (as seen below), but not over my button. I have set WS_CLIPCHILDREN style, so the button area is indeed left alone. However, the button itself is not painted until I hover it. Why?</FONT></DIV><DIV>&nbsp;</DIV><DIV>void</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>CMainFrame</FONT></FONT><FONT size=2>::</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>OnPaint</FONT></FONT><FONT size=2>()</DIV><DIV>{</DIV><DIV></FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp;&nbsp;&nbsp; CClientDC</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dc</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp;&nbsp;&nbsp; CXTPClientRect</FONT></FONT><FONT size=2> </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>rect</FONT></FONT><FONT size=2>(</FONT><FONT color=#0000ff size=2><FONT color=#0000ff size=2>this</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT color=#010001 size=2><FONT color=#010001 size=2>&nbsp;&nbsp;&nbsp; XTPDrawHelpers</FONT></FONT><FONT size=2>()-&gt;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>GradientFill</FONT></FONT><FONT size=2>(&amp;</FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>dc</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>rect</FONT></FONT><FONT size=2>, </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>RGB</FONT></FONT><FONT size=2>(192, 192, 192), </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>RGB</FONT></FONT><FONT size=2>(255, 255, 255), </FONT><FONT color=#010001 size=2><FONT color=#010001 size=2>FALSE</FONT></FONT><FONT size=2>);</FONT></DIV><DIV><FONT size=2>}</DIV></FONT>]]>
   </description>
   <pubDate>Thu, 11 Jun 2009 05:57:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14506&amp;PID=49837&amp;title=ws-clipchildren-question#49837</guid>
  </item> 
 </channel>
</rss>