<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/previewImages/100/536903_100x75.jpg</url>
		<title>Channel 9 - Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<link></link>
	</image>
	<description>While on campus for the MVP Summit in February, I had a chance to visit Henry Sowizral over in building 41. Henry Sowizral is a Principal Architect in Microsoft Expression, and he and his team did something really cool: they converted an existing C/C&amp;#43;&amp;#43;/MFC
 application to have a WPF front-end, while still leveraging all that existing code.

If you have legacy code and are considering porting the UI to .NET, pick up some pointers from Henry.

Once you&#39;ve finished, check out Henry&#39;s 
presentation deck on how the team converted the Expression Design UI to WPF.

See more WPF at Pete&#39;s site and blog 
http://10rem.net
Follow Pete on twitter at 
@pete_brown </description>
	<link></link>
	<language>en</language>
	<pubDate>Sun, 19 May 2013 23:40:44 GMT</pubDate>
	<lastBuildDate>Sun, 19 May 2013 23:40:44 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>Awesome video and&nbsp;very timely. I'm currently involved in trying to drag a 16 year old MFC application kicking and screaming into the WPF present and future.</p>
<p>posted by tomkirbygreen</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634041618640000000</link>
		<pubDate>Sun, 14 Mar 2010 11:11:04 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634041618640000000</guid>
		<dc:creator>tomkirbygreen</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>can you please post a sample showing how to change a C&#43;&#43; control to WPF ?</p>
<p>posted by freefly</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634042778270000000</link>
		<pubDate>Mon, 15 Mar 2010 19:23:47 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634042778270000000</guid>
		<dc:creator>freefly</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>Any specific scenario? A MFC UI element with a bunch of existing logic, switched over to a WPF front end?</p>
<p>posted by Psychlist1972</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634042834660000000</link>
		<pubDate>Mon, 15 Mar 2010 20:57:46 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634042834660000000</guid>
		<dc:creator>Psychlist1972</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>Yes ... and moreover, best practices to follow. You can put it in the comments or a readme.txt file along the sample. Can you&nbsp;please talk or write about some ownerdrawn controls&nbsp;switching over&nbsp;scenario? &nbsp;Thanks</p>
<p>posted by freefly</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634042916090000000</link>
		<pubDate>Mon, 15 Mar 2010 23:13:29 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634042916090000000</guid>
		<dc:creator>freefly</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>Was it slow as molasses after the conversion with all of the WPF bloat, sort of like Visual Studio&nbsp;2010?</p>
<p>Nice to see you're running Windows XP in the background, though. I found that highly amusing in a post about converting legacy code.</p>
<p>posted by Corrector2</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634042933310000000</link>
		<pubDate>Mon, 15 Mar 2010 23:42:11 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634042933310000000</guid>
		<dc:creator>Corrector2</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>XP was in a VM if I recall correctly. He also had Windows 7 on his main machines. There's no rule against keeping machines for testing or verification. Note it was running &quot;in the background&quot; <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>The slowdowns in visual studio had nothing to do with WPF. Check out the Visual Studio blog for more information. While WPF was the most visible change, a ton more was changed under the covers.</p>
<p>&nbsp;</p>
<p>Happily, with the RC, VS2010 is doing quite well now, with lots of new and useful features and perf on par with the previous version.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>posted by Psychlist1972</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634043182560000000</link>
		<pubDate>Tue, 16 Mar 2010 06:37:36 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634043182560000000</guid>
		<dc:creator>Psychlist1972</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>if you are planning to post a sample and the best practice notes... could please notify me or tell me where I can expect it to show up !!!</p>
<p>posted by freefly</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634043274660000000</link>
		<pubDate>Tue, 16 Mar 2010 09:11:06 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634043274660000000</guid>
		<dc:creator>freefly</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>If you grep for HwndSource and in particular the &quot;AddHook&quot; tweak you'll get a long way with your MFC / WPF mash-ups. There are some pain points about using RenderTargetBitmap and then converting the resulting bitmap to a MFC compatible 24 bit RBG bitmap
 form that you can say put into a MFC ribbon - but it's all very doable. If you're not using Dev 10, i.e. you're using Visual Studio 2008 then I'd recommend doing your work in a 32 bit environment, you're going to be stepping a lot between C&#43;&#43;, C&#43;&#43;/CLI and
 C# and you will want mixed-mode debugging. I couldn't imagine doing this stuff in 64 bit before the advent of mixed-mode.</p>
<p>posted by tomkirbygreen</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634043300650000000</link>
		<pubDate>Tue, 16 Mar 2010 09:54:25 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634043300650000000</guid>
		<dc:creator>tomkirbygreen</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>If you want your business application to resemble an ATM machine, you will use WPF. If you want it to look professional (i.e., like office), you will use MFC and a good toolkit such as Codejock for ribbons and views.</p>
<p>posted by Corrector2</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634044567690000000</link>
		<pubDate>Wed, 17 Mar 2010 21:06:09 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634044567690000000</guid>
		<dc:creator>Corrector2</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>@Connector2</p>
<p>&nbsp;</p>
<p>Trolling aside, have you see the <a href="http://10rem.net/blog/2010/02/10/the-book-of-wpf">
Book of WPF</a>? You'll see in there a number of excellent examples of WPF applications that look nothing like an Automated Teller Machine (Machine) <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
<p>&nbsp;</p>
<p>Besides, most ATM software was C&#43;&#43; on OS/2 last time I looked. That was years ago, though.</p>
<p>&nbsp;</p>
<p>MFC is definitely an excellent technology. Just like WPF, though, it's not the answer to everything.</p>
<p>&nbsp;</p>
<p>Pete</p>
<p>posted by Psychlist1972</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634044652030000000</link>
		<pubDate>Wed, 17 Mar 2010 23:26:43 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634044652030000000</guid>
		<dc:creator>Psychlist1972</dc:creator>
	</item>
	<item>
		<title>Re: Henry Sowizral on Refacing C++ with WPF in Expression Design</title>
		<description>
			<![CDATA[
<p>OK, trolling aside, I looked at the &quot;Book of WPF.&quot; First of all, regarding said book, whoever decided to make it an 18&quot;x9&quot; PDF file needs to go back to design school. It was a royal pain to have to navigate it horizontally and vertically in Adobe Acrobat
 viewer. I did go through the entire book, though. Having done that, I basically came to the following conclusions:</p>
<p>&nbsp;</p>
<p>- For video playback apps and other &quot;player-like&quot; apps, exclusively, WPF with a custom GUI layout that presented the application to the user in a manner resembling a hardware player, made some amount of sense.</p>
<p>- From the rest of the examples, the few implementations that looked semi-professional and not like&nbsp;GUI implemented by a College student on LSD, all used an Office 2007-like ribbon. These would have been better served, at least performance wise, by using
 MFC and Codejock's Toolkit Pro.</p>
<p>&nbsp;</p>
<p>Now, granted,&nbsp;I don't know how many of the apps were written in C&#43;&#43; and how many were written in C#. Certainly, my statements above only apply to those that were written in native C&#43;, for which MFC was an option. Even for the C# apps, though, outside of
 the various players, a ribbon interface would have been much better than the hacked attempts at GUI that I saw.</p>
<p>&nbsp;</p>
<p>MS spent a small fortune on the evolution of its Windows (and Office) GUI, first using menus and toolbars and now ribbons. Most of the apps I saw spat in the face of this evolutionary development&nbsp;saying, &quot;We can do reinvent the (GUI) wheel and do a better
 job.&quot; As software engineers, we all know the most probable&nbsp;outcome of someone reinventing the wheel in the software development world.</p>
<p>&nbsp;</p>
<p>posted by Corrector2</p>]]>
		</description>
		<link>http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634047010750000000</link>
		<pubDate>Sat, 20 Mar 2010 16:57:55 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/Blogs/Psychlist1972/Henry-Sowizral-on-Refacing-C-with-WPF-in-Expression-Design#c634047010750000000</guid>
		<dc:creator>Corrector2</dc:creator>
	</item>
</channel>
</rss>