<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Code Library &#187; Color</title>
	<atom:link href="http://www.ucosoft.com/tag/color/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ucosoft.com</link>
	<description>Free Source Code and Program Tips</description>
	<lastBuildDate>Thu, 22 Jul 2010 05:17:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to set the backgroud color of CPropertyPage</title>
		<link>http://www.ucosoft.com/how-to-set-the-backgroud-color-of-cpropertypage.html</link>
		<comments>http://www.ucosoft.com/how-to-set-the-backgroud-color-of-cpropertypage.html#comments</comments>
		<pubDate>Thu, 18 Oct 2007 12:18:41 +0000</pubDate>
		<dc:creator>support</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Color]]></category>
		<category><![CDATA[CPropertyPage]]></category>
		<category><![CDATA[Win32/MFC]]></category>

		<guid isPermaLink="false">http://www.ucosoft.com/2007/10/18/how-to-set-the-backgroud-color-of-cpropertypage.html</guid>
		<description><![CDATA[How to set the backgroud color of CPropertyPage? If you override OnCtlColor in your property page, then you can return a different background color and that seems to work with CStatic and other items. But what if you want is a background that&#8217;s not just a simple color? You&#8217;d like to be able to draw [...]]]></description>
			<content:encoded><![CDATA[<p>How to set the backgroud color of CPropertyPage?</p>
<p>If you override <strong>OnCtlColor</strong> in your property page, then you can return a different background color and that seems to work with CStatic and other items.</p>
<p>But what if you want is a background that&#8217;s not just a simple color? You&#8217;d like to be able to draw a background (maybe an watermark-style image) as your property page background and not have CStatic and other controls draw their own background. you would have though the transparent option in the CStatic class would do this when set from the dialog editor, but it doesn&#8217;t seem to.</p>

	Tags: <strong><a href="http://www.ucosoft.com/tag/color" title="Color" rel="tag">Color</a>, <a href="http://www.ucosoft.com/tag/cpropertypage" title="CPropertyPage" rel="tag">CPropertyPage</a>, <a href="http://www.ucosoft.com/tag/mfc" title="Win32/MFC" rel="tag">Win32/MFC</a></strong><br />
]]></content:encoded>
			<wfw:commentRss>http://www.ucosoft.com/how-to-set-the-backgroud-color-of-cpropertypage.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

