<?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: WPF: Inconsistent FileDialogs on Vista 64-bit.</title>
	<atom:link href="http://kristofmattei.be/2009/02/23/wpf-inconsistent-filedialogs-on-vista-64-bit/feed/" rel="self" type="application/rss+xml" />
	<link>http://kristofmattei.be/2009/02/23/wpf-inconsistent-filedialogs-on-vista-64-bit/</link>
	<description>A blog on my experiences in programming, work, and life!</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:31:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Kristof's Blog :: WPF: Inconsistent FileDialogs on Vista 64-bit. #2</title>
		<link>http://kristofmattei.be/2009/02/23/wpf-inconsistent-filedialogs-on-vista-64-bit/comment-page-1/#comment-1686</link>
		<dc:creator>Kristof's Blog :: WPF: Inconsistent FileDialogs on Vista 64-bit. #2</dc:creator>
		<pubDate>Tue, 21 Apr 2009 06:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://kristofmattei.be/?p=610#comment-1686</guid>
		<description>[...] Brewster made this comment on my previous post about the Inconsistent [...]</description>
		<content:encoded><![CDATA[<p>[...] Brewster made this comment on my previous post about the Inconsistent [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Brewster</title>
		<link>http://kristofmattei.be/2009/02/23/wpf-inconsistent-filedialogs-on-vista-64-bit/comment-page-1/#comment-1678</link>
		<dc:creator>Rick Brewster</dc:creator>
		<pubDate>Thu, 16 Apr 2009 00:46:12 +0000</pubDate>
		<guid isPermaLink="false">http://kristofmattei.be/?p=610#comment-1678</guid>
		<description>Oops, that comment above should list the 3 options are 3 separate ways to achieve the same result. Not 3 things which must be done together or in sequence.</description>
		<content:encoded><![CDATA[<p>Oops, that comment above should list the 3 options are 3 separate ways to achieve the same result. Not 3 things which must be done together or in sequence.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Brewster</title>
		<link>http://kristofmattei.be/2009/02/23/wpf-inconsistent-filedialogs-on-vista-64-bit/comment-page-1/#comment-1677</link>
		<dc:creator>Rick Brewster</dc:creator>
		<pubDate>Thu, 16 Apr 2009 00:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://kristofmattei.be/?p=610#comment-1677</guid>
		<description>This happens because you&#039;re pulling in the old version of comctl32.dll.

1) Add a manifest to your EXE that specifies version 6 of comctl32.dll.
2) Call System.Windows.Forms.Application.EnableVisualStyles. Downside is that you&#039;re now referencing an extra DLL for a circumstantial purpose.
3) P/Invoke into all the CreateAtx* stuff in Win32 API. (in fact, you can limit the scope of the activation context so that it&#039;s only active for the duration of &quot;ShowDialog&quot;.) This documentation is very confusing though.

This is not a detection problem in Microsoft.Win32. It&#039;s just a fit-and-finish bug that never got fixed.

You might also have to make sure you aren&#039;t using a hook procedure (not sure if WPF does this &quot;for you&quot;). If you end up with exactly the dialog above except for correctly themed scrollbars and buttons, then this is what&#039;s happening.</description>
		<content:encoded><![CDATA[<p>This happens because you&#8217;re pulling in the old version of comctl32.dll.</p>
<p>1) Add a manifest to your EXE that specifies version 6 of comctl32.dll.<br />
2) Call System.Windows.Forms.Application.EnableVisualStyles. Downside is that you&#8217;re now referencing an extra DLL for a circumstantial purpose.<br />
3) P/Invoke into all the CreateAtx* stuff in Win32 API. (in fact, you can limit the scope of the activation context so that it&#8217;s only active for the duration of &#8220;ShowDialog&#8221;.) This documentation is very confusing though.</p>
<p>This is not a detection problem in Microsoft.Win32. It&#8217;s just a fit-and-finish bug that never got fixed.</p>
<p>You might also have to make sure you aren&#8217;t using a hook procedure (not sure if WPF does this &#8220;for you&#8221;). If you end up with exactly the dialog above except for correctly themed scrollbars and buttons, then this is what&#8217;s happening.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

