<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: How To Use UpdateLayeredWindow</title>
	<atom:link href="http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/</link>
	<description>Sharing my software development progress + other interesting things.</description>
	<pubDate>Fri, 30 Jul 2010 23:50:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Marc Gregoire</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-18554</link>
		<dc:creator>Marc Gregoire</dc:creator>
		<pubDate>Wed, 17 Mar 2010 14:53:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-18554</guid>
		<description>Try the above procedure. Create your bitmap and make sure the part where the webbrowser control should appear is not transparent;</description>
		<content:encoded><![CDATA[<p>Try the above procedure. Create your bitmap and make sure the part where the webbrowser control should appear is not transparent;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prabhat</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-18538</link>
		<dc:creator>Prabhat</dc:creator>
		<pubDate>Wed, 17 Mar 2010 10:43:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-18538</guid>
		<description>Hi , 
  I want to use Webbrowser control with transparent dialog. dilaog box should transparent but webbrowser control part should not transparent.
Thanks,
prabaht singh.</description>
		<content:encoded><![CDATA[<p>Hi ,<br />
  I want to use Webbrowser control with transparent dialog. dilaog box should transparent but webbrowser control part should not transparent.<br />
Thanks,<br />
prabaht singh.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Gregoire</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-15294</link>
		<dc:creator>Marc Gregoire</dc:creator>
		<pubDate>Wed, 30 Dec 2009 12:39:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-15294</guid>
		<description>Interesting. I have used GIMP before, but didn't know it supports 32 bit BMP files.
When I find some more time I might give it a try.</description>
		<content:encoded><![CDATA[<p>Interesting. I have used GIMP before, but didn&#8217;t know it supports 32 bit BMP files.<br />
When I find some more time I might give it a try.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: neptunecentury</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-15264</link>
		<dc:creator>neptunecentury</dc:creator>
		<pubDate>Tue, 29 Dec 2009 17:13:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-15264</guid>
		<description>@Marc
GIMP for Windows is an excellent image editor and supports 32-bit BMPs. I have created transparent bitmaps with editor for use in my applications, but I have no use for 32-bit bmps as I now use the GDI+ library and it supports loading png files. However, if you want to create an example with loading just BMPs, you could create them with GIMP. http://www.gimp.org/windows/</description>
		<content:encoded><![CDATA[<p>@Marc<br />
GIMP for Windows is an excellent image editor and supports 32-bit BMPs. I have created transparent bitmaps with editor for use in my applications, but I have no use for 32-bit bmps as I now use the GDI+ library and it supports loading png files. However, if you want to create an example with loading just BMPs, you could create them with GIMP. <a href="http://www.gimp.org/windows/" rel="nofollow">http://www.gimp.org/windows/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Gregoire</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-14809</link>
		<dc:creator>Marc Gregoire</dc:creator>
		<pubDate>Sun, 13 Dec 2009 11:34:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-14809</guid>
		<description>I tried to make a BMP file with an alpha channel in two photo editors but they don't allow it.
Maybe you can use another library to load PNG files?
Maybe this one: http://www.codeguru.com/cpp/g-m/bitmap/otherformats/article.php/c4899/ ?</description>
		<content:encoded><![CDATA[<p>I tried to make a BMP file with an alpha channel in two photo editors but they don&#8217;t allow it.<br />
Maybe you can use another library to load PNG files?<br />
Maybe this one: <a href="http://www.codeguru.com/cpp/g-m/bitmap/otherformats/article.php/c4899/" rel="nofollow">http://www.codeguru.com/cpp/g-m/bitmap/otherformats/article.php/c4899/</a> ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-14807</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Sun, 13 Dec 2009 00:09:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-14807</guid>
		<description>Hello

I have VC++ 6.0 which doesn't seem to have the CImage class (atlimage.h).

Could you possibly write another version that simply loads a BMP?

I believe the latest version of BMP does support transparency.

Thank you</description>
		<content:encoded><![CDATA[<p>Hello</p>
<p>I have VC++ 6.0 which doesn&#8217;t seem to have the CImage class (atlimage.h).</p>
<p>Could you possibly write another version that simply loads a BMP?</p>
<p>I believe the latest version of BMP does support transparency.</p>
<p>Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Gregoire</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-9306</link>
		<dc:creator>Marc Gregoire</dc:creator>
		<pubDate>Sun, 05 Jul 2009 18:34:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-9306</guid>
		<description>Hi Ovidiu :)

I don't know if that would be possible. I never tried it myself. Why do you need something like that?
Did you try to get the HDC of the layered window? Maybe that HDC is a 32bit device context including the alpha channel...</description>
		<content:encoded><![CDATA[<p>Hi Ovidiu <img src='http://www.nuonsoft.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I don&#8217;t know if that would be possible. I never tried it myself. Why do you need something like that?<br />
Did you try to get the HDC of the layered window? Maybe that HDC is a 32bit device context including the alpha channel&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ovidiu</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-9303</link>
		<dc:creator>Ovidiu</dc:creator>
		<pubDate>Sun, 05 Jul 2009 18:12:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-9303</guid>
		<description>Hi, Marc,
Is it possible the inverse operation, i.e. saving A channel in a (png) file given a layered window?</description>
		<content:encoded><![CDATA[<p>Hi, Marc,<br />
Is it possible the inverse operation, i.e. saving A channel in a (png) file given a layered window?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc Gregoire</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-8375</link>
		<dc:creator>Marc Gregoire</dc:creator>
		<pubDate>Wed, 17 Jun 2009 11:21:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-8375</guid>
		<description>In my example I have this device context called hDC which will be used in the call to UpdateLayeredWindow. This is just a 32bit device context, so RGB and A channels. If you want to add PNG based buttons, load the PNGs (maybe using CImage class) and then render those PNGs at the right position in the hDC. Store the coordinates of your PNG buttons somewhere so you can use the coordinates in your WM_MOUSEMOVE and mouse button messages. Once everything is rendered to hDC, call UpdateLayeredWindow. I think this should give you what you want.</description>
		<content:encoded><![CDATA[<p>In my example I have this device context called hDC which will be used in the call to UpdateLayeredWindow. This is just a 32bit device context, so RGB and A channels. If you want to add PNG based buttons, load the PNGs (maybe using CImage class) and then render those PNGs at the right position in the hDC. Store the coordinates of your PNG buttons somewhere so you can use the coordinates in your WM_MOUSEMOVE and mouse button messages. Once everything is rendered to hDC, call UpdateLayeredWindow. I think this should give you what you want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kay</title>
		<link>http://www.nuonsoft.com/blog/2009/05/27/how-to-use-updatelayeredwindow/comment-page-1/#comment-8369</link>
		<dc:creator>Kay</dc:creator>
		<pubDate>Wed, 17 Jun 2009 09:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.nuonsoft.com/blog/?p=244#comment-8369</guid>
		<description>Hi, thanks for that post.

Could you maybe extend this example to show how to use UpdateLayeredWindow with UI Controls like buttons etc?:)

I cant find any solution for this. What i exactly need is to know how i can Use my PNG with alpha channel as background and a set of other pngs as buttons/ui controlls</description>
		<content:encoded><![CDATA[<p>Hi, thanks for that post.</p>
<p>Could you maybe extend this example to show how to use UpdateLayeredWindow with UI Controls like buttons etc?:)</p>
<p>I cant find any solution for this. What i exactly need is to know how i can Use my PNG with alpha channel as background and a set of other pngs as buttons/ui controlls</p>
]]></content:encoded>
	</item>
</channel>
</rss>
