<?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: Remove Icon from WPF Window</title>
	<atom:link href="http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/</link>
	<description>Developer.Speaker.Blogger</description>
	<lastBuildDate>Sun, 14 Aug 2011 06:09:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kevinclcn</title>
		<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/comment-page-1/#comment-3287</link>
		<dc:creator>Kevinclcn</dc:creator>
		<pubDate>Sat, 25 Jul 2009 09:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/#comment-3287</guid>
		<description>SendMessage(hwnd, WM_SETICON, IntPtr.Zero, IntPtr.Zero) can remove the Icon from XP</description>
		<content:encoded><![CDATA[<p>SendMessage(hwnd, WM_SETICON, IntPtr.Zero, IntPtr.Zero) can remove the Icon from XP</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ionymous</title>
		<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/comment-page-1/#comment-3068</link>
		<dc:creator>ionymous</dc:creator>
		<pubDate>Wed, 13 May 2009 12:19:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/#comment-3068</guid>
		<description>At first I found this didn&#039;t work.
But then I removed some of the window property settings I had in my xaml.
For example, MaxWidth=400 and WindowStartupLocation=Center, etc.

Then it worked.  The icon goes away.
I had to add these settings in my code, after removing the icon.
At at that point, setting WindowStartupLocation was too late... so I had to just reposition the window manually in code.

But in the end, I get the look I want.
Ion</description>
		<content:encoded><![CDATA[<p>At first I found this didn&#8217;t work.<br />
But then I removed some of the window property settings I had in my xaml.<br />
For example, MaxWidth=400 and WindowStartupLocation=Center, etc.</p>
<p>Then it worked.  The icon goes away.<br />
I had to add these settings in my code, after removing the icon.<br />
At at that point, setting WindowStartupLocation was too late&#8230; so I had to just reposition the window manually in code.</p>
<p>But in the end, I get the look I want.<br />
Ion</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kooeeman</title>
		<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/comment-page-1/#comment-1580</link>
		<dc:creator>kooeeman</dc:creator>
		<pubDate>Fri, 19 Dec 2008 08:32:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/#comment-1580</guid>
		<description>Another way is to use an empty icon. This works best when you want a window with no icon and no title because, as the icon is there but only transparent, if you put a title it will not be aligned to the left

I know it&#039;s an ugly way of doing things but it avoids DllImport.</description>
		<content:encoded><![CDATA[<p>Another way is to use an empty icon. This works best when you want a window with no icon and no title because, as the icon is there but only transparent, if you put a title it will not be aligned to the left</p>
<p>I know it&#8217;s an ugly way of doing things but it avoids DllImport.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: r41n</title>
		<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/comment-page-1/#comment-1346</link>
		<dc:creator>r41n</dc:creator>
		<pubDate>Tue, 07 Oct 2008 13:21:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/#comment-1346</guid>
		<description>I confirm what Luke said, doesn&#039;t work with the mentioned configuration.
Guess it has something to do with the FW version...but actually i really don&#039;t know.
It&#039;s a shame thought that they didn&#039;t port the ShowIcon property from Win32...</description>
		<content:encoded><![CDATA[<p>I confirm what Luke said, doesn&#8217;t work with the mentioned configuration.<br />
Guess it has something to do with the FW version&#8230;but actually i really don&#8217;t know.<br />
It&#8217;s a shame thought that they didn&#8217;t port the ShowIcon property from Win32&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/comment-page-1/#comment-1274</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Fri, 26 Sep 2008 02:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/#comment-1274</guid>
		<description>It doesn&#039;t work on Windows XP SP3 and .NET Framework 3.5 SP1... Any ideas?</description>
		<content:encoded><![CDATA[<p>It doesn&#8217;t work on Windows XP SP3 and .NET Framework 3.5 SP1&#8230; Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefan</title>
		<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/comment-page-1/#comment-737</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Fri, 25 Jul 2008 13:15:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/#comment-737</guid>
		<description>Good trick.
But this only works as long as WPF uses Win32 as host window.  If MS goes through with WPF becoming the Win32 replacement this won&#039;t work anymore.  But that&#039;s far in the distant future ...

Stefan</description>
		<content:encoded><![CDATA[<p>Good trick.<br />
But this only works as long as WPF uses Win32 as host window.  If MS goes through with WPF becoming the Win32 replacement this won&#8217;t work anymore.  But that&#8217;s far in the distant future &#8230;</p>
<p>Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlo</title>
		<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/comment-page-1/#comment-726</link>
		<dc:creator>Carlo</dc:creator>
		<pubDate>Sun, 13 Jul 2008 16:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/#comment-726</guid>
		<description>I&#039;ll have to take a note of this. I didn&#039;t know it would take this much work to do this in WPF.</description>
		<content:encoded><![CDATA[<p>I&#8217;ll have to take a note of this. I didn&#8217;t know it would take this much work to do this in WPF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniyal</title>
		<link>http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/comment-page-1/#comment-651</link>
		<dc:creator>Daniyal</dc:creator>
		<pubDate>Wed, 04 Jun 2008 11:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.danrigsby.com/blog/index.php/2008/05/26/remove-icon-from-wpf-window/#comment-651</guid>
		<description>works wonder .... and  i had no idea how simple it could be.
Thanks a bunch
Daniyal</description>
		<content:encoded><![CDATA[<p>works wonder &#8230;. and  i had no idea how simple it could be.<br />
Thanks a bunch<br />
Daniyal</p>
]]></content:encoded>
	</item>
</channel>
</rss>

