<?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>Mon, 19 Jul 2010 04:51:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</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 />

	<ul class="st-related-posts">
	<li><a href="http://www.ucosoft.com/the-simplest-way-to-change-the-row-height-of-clistctrl.html" title="The Simplest way to change the row height of CListCtrl (January 14, 2008)">The Simplest way to change the row height of CListCtrl</a> (0)</li>
	<li><a href="http://www.ucosoft.com/set-the-head-backgroud-color-of-cpropertypage.html" title="Set the head backgroud color of CPropertyPage (October 18, 2007)">Set the head backgroud color of CPropertyPage</a> (0)</li>
	<li><a href="http://www.ucosoft.com/intermittent-work-in-ui-thread-2.html" title="Intermittent work in UI thread (October 16, 2007)">Intermittent work in UI thread</a> (0)</li>
	<li><a href="http://www.ucosoft.com/intermittent-work-in-ui-thread.html" title="Intermittent work in UI thread (October 16, 2007)">Intermittent work in UI thread</a> (0)</li>
	<li><a href="http://www.ucosoft.com/how-to-use-an-derived-clistctrl-in-clistview.html" title="How to use an derived CListCtrl in CListView (October 22, 2007)">How to use an derived CListCtrl in CListView</a> (2)</li>
	<li><a href="http://www.ucosoft.com/how-to-select-the-item-of-listviewclistctrl.html" title="How to select the item of ListView(CListCtrl) (October 18, 2007)">How to select the item of ListView(CListCtrl)</a> (0)</li>
	<li><a href="http://www.ucosoft.com/events-when-click-ontaskbar.html" title="How to catch the events when click on the app icon on taskbar (September 24, 2008)">How to catch the events when click on the app icon on taskbar</a> (0)</li>
	<li><a href="http://www.ucosoft.com/how-to-adding-ctreectrl-in-clistctrl.html" title="How to Adding CTreeCtrl in CListCtrl (January 7, 2008)">How to Adding CTreeCtrl in CListCtrl</a> (0)</li>
</ul>

]]></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>
