<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-US"><title type="html">JTChris's WebLog</title><subtitle type="html">Windows Vista Wanderings</subtitle><id>http://blogs.msdn.com/jtchris/atom.xml</id><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jtchris/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.msdn.com/jtchris/atom.xml" /><generator uri="http://communityserver.org" version="2.1.61025.2">Community Server</generator><updated>2004-10-04T19:05:00Z</updated><entry><title>"Vista Bridge" and You</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jtchris/archive/2006/10/26/vista-bridge-and-you.aspx" /><id>http://blogs.msdn.com/jtchris/archive/2006/10/26/vista-bridge-and-you.aspx</id><published>2006-10-27T00:04:00Z</published><updated>2006-10-27T00:04:00Z</updated><content type="html">&lt;P&gt;Well ... here we are - a really&lt;EM&gt;, really&lt;/EM&gt; long time since my last entry. The pestering from folks to actually update my blog with useful and current information has become overwhelming for me, so I've finally caved and am now typing away. I'm actually grateful for the pestering, however - I've had lots of cool stuff to share for a number of months now, but just couldn't seem to, um, get around to it. &lt;/P&gt;
&lt;P&gt;The main bit of "cool stuff" is the project into which I've been pouring much of my time - a sample library called "Vista Bridge". I've been the main developer on this project since its inception, and the somewhat cutesy name was my brilliant idea :), but there are now several other MS folks who have been helping it roll along. For that help, big kudos go to&amp;nbsp;&lt;A class="" title="Catherine Heller" href="http://blogs.msdn.com/cheller/" mce_href="http://blogs.msdn.com/cheller/"&gt;Catherine Heller&lt;/A&gt;&amp;nbsp;for getting the whole thing rolling, &lt;A class="" title="Ernie Booth" href="http://blogs.msdn.com/ebooth/" mce_href="http://blogs.msdn.com/ebooth/"&gt;Ernie Booth&lt;/A&gt;&amp;nbsp;for&amp;nbsp;some great sample material, and most recently&amp;nbsp;&lt;A class="" title="Yves Dolce's blog" href="http://blogs.msdn.com/yvesdolc/" mce_href="http://blogs.msdn.com/yvesdolc/"&gt;Yves Dolce&lt;/A&gt;, for covering some new areas that I haven't had the time to hit yet. And though I expect the list to grow over the next couple months as more MS folks contribute.&lt;/P&gt;
&lt;P&gt;Vista Bridge is a&amp;nbsp;sample - or set of samples -&amp;nbsp;that ships with the Windows SDK,&amp;nbsp;primarily designed to provide a starting point for&amp;nbsp;managed code developers wishing to make use of the HUGE numbers of cool new Vista APIs.&amp;nbsp;Each&amp;nbsp;targeted API&amp;nbsp;is wrapped in a totally .NET-friendly set of managed&amp;nbsp;wrappers, with a rough goal of&amp;nbsp;exposing anywhere from 50% to 100% of the native functionality provided by Vista. In a number of cases, we even provide a fair bit of value in the managed&amp;nbsp;library above and beyond the native API,&amp;nbsp;in an effort to make it fit&amp;nbsp;with&amp;nbsp;.NET library design requirements or to leverage additional funcionality of the rest of the&amp;nbsp;.NET Framework. Task Dialog is a good example of this additional functionality, which&amp;nbsp;allows you to&amp;nbsp;&amp;nbsp;... but I'm getting ahead of myself; more of the specifics in another post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've had a number of folks ask how this "sample library" is to be used, as it covers much native API surface area that isn't exposed in the "official" managed frameworks.&amp;nbsp;The answer is fairly convoluted, mostly because there are several different ways you can use samples in general, and this set of samples in particular. "Sample library" can be read to mean an example of a .NET framework library that happens to expose Vista functionality - and this is an accurate description, as the library can be used as-is or with slight modification, just as a framework library would be. Or it could mean a library - a collection - of individual samples, to be used for study, inspiration, or tactical copy/paste into your own code. However, the operative word in both interpretations is "sample" - Vista Bridge is sample code, and therefore has all the legal disclaimers of any other sample code from Microsoft. Summarizing that legalese is generally frowned upon, as I'm a developer and not a lawyer and therefore almost certainly bound to screw it up, BUT I think if you use commonsense when you make use of this (or any other) sample code, you'll be golden.&lt;/P&gt;
&lt;P&gt;Okay, glad that's out of the way ... :) Next post: what the heck is covered in Vista Bridge, and what is planned for the future?&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=877410" width="1" height="1"&gt;</content><author><name>JTChris</name><uri>http://blogs.msdn.com/members/JTChris.aspx</uri></author></entry><entry><title>Informal Poll for Developers: What Longhorn SDK samples do you want see?</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jtchris/archive/2005/04/26/412267.aspx" /><id>http://blogs.msdn.com/jtchris/archive/2005/04/26/412267.aspx</id><published>2005-04-26T23:17:00Z</published><updated>2005-04-26T23:17:00Z</updated><content type="html">&lt;P&gt;&lt;FONT face=Arial&gt;If you're a developer who has had a chance (or would like to now take the opportunity - see &lt;A href="http://msdn.microsoft.com/longhorn/default.aspx"&gt;http://msdn.microsoft.com/longhorn/default.aspx&lt;/A&gt;&amp;nbsp;for a great starting point) to play around with the various APIs in Longhorn, this post is for you ...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;A big part of my new SDE gig on the Longhorn SDK is creating new WinFX samples.&lt;/FONT&gt;&lt;FONT face=Arial&gt;&amp;nbsp;The very first part of that work, as you could guess - and as you'd hope! - is&amp;nbsp;to identify the areas where we'll get the biggest bang for our dev-time buck, and a key part of THAT prioritization effort is talking to you folks. The last thing we want to do is give you samples you don't need and leave out the ones you do need.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;For this push, we are focusing on what I vaguely term &lt;EM&gt;"medium-sized samples"&lt;/EM&gt; - meaning not code snippets that show you how to use one or two APIs, and emphatically not "uber-samples" that take every WinFX technology and use it in a single monolithic app. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;The "small" and "large" samples have their place, but for this new push we're focusing on the middle road. The goal of these samples is to indeed touch on multiple technology areas, but keep the size down such that the educational value is still high. You should be able to take a chunk of code, make sense of what it's doing, and reuse it if you'd like, without having to grok a large and sprawling codebase that doesn't necessarily have anything to do with the area that interests you at that moment.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;With that brief bit of background, here are the questions:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;&amp;nbsp;1. In which areas of&amp;nbsp;Longhorn and WinFX (including "Avalon", "Indigo", WinFS,&amp;nbsp;etc.)&amp;nbsp;would you like to see more samples?&lt;BR&gt;&amp;nbsp;2. Which areas of WinFX are, in your experience, already well-covered by samples?&lt;BR&gt;&amp;nbsp;3. Are there any cross-technology, "stitching some areas together" samples that you'd like to see?&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face=Arial&gt;Any input appreciated here - and be sure to give me fun ideas. It makes my job ... well, more fun, plus it makes the samples a lot easier to digest for customers as well. :)&lt;BR&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=412267" width="1" height="1"&gt;</content><author><name>JTChris</name><uri>http://blogs.msdn.com/members/JTChris.aspx</uri></author></entry><entry><title>Windows Forms Wanderings, Indeed ...</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jtchris/archive/2005/04/26/412258.aspx" /><id>http://blogs.msdn.com/jtchris/archive/2005/04/26/412258.aspx</id><published>2005-04-26T23:13:00Z</published><updated>2005-04-26T23:13:00Z</updated><content type="html">&lt;P&gt;My big plans for my blog amounted to ... well, not quite naught but darn close.&lt;/P&gt;
&lt;P&gt;And now it's too late, because my "Windows Forms Wanderings" ended up wandering off to another position at Microsoft. I'm now a developer on the Longhorn SDK team, so no more ultra-fun layout games. Oh well, it was a good idea. &lt;/P&gt;
&lt;P&gt;More soon. No, really - I mean it this time.&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=412258" width="1" height="1"&gt;</content><author><name>JTChris</name><uri>http://blogs.msdn.com/members/JTChris.aspx</uri></author></entry><entry><title>New Bits!</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jtchris/archive/2004/10/26/248277.aspx" /><id>http://blogs.msdn.com/jtchris/archive/2004/10/26/248277.aspx</id><published>2004-10-27T02:07:00Z</published><updated>2004-10-27T02:07:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Arial"&gt;New bits!&amp;nbsp; &lt;a href="http://lab.msdn.microsoft.com/vs2005/downloads/default.aspx"&gt;http://lab.msdn.microsoft.com/vs2005/downloads/default.aspx&lt;/a&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;I haven't installed it yet - we build directly out of our source trees on our dev boxes, and there can be quite a delta between the source trees and branches used to build these sorts of community previews - but there should be lots&amp;nbsp;and&amp;nbsp;lots of bug fixes in this drop. Install and enjoy.&lt;/font&gt;&lt;font face="Arial"&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=248277" width="1" height="1"&gt;</content><author><name>JTChris</name><uri>http://blogs.msdn.com/members/JTChris.aspx</uri></author></entry><entry><title>Name That Layout: In the beginning ...</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jtchris/archive/2004/10/22/246547.aspx" /><id>http://blogs.msdn.com/jtchris/archive/2004/10/22/246547.aspx</id><published>2004-10-23T01:35:00Z</published><updated>2004-10-23T01:35:00Z</updated><content type="html">&lt;font face="Arial"&gt; &lt;p&gt;&lt;font face="Arial"&gt;Windows Forms 2.0 contains a set of new layout features that are a blast to use - but first-time users can be easily overwhelmed by the options, and even developers experienced with Windows Forms may need&amp;nbsp;a helping hand to figure out how to get the most of the new features. So, as a way of demonstrating how, when, and why the features should be used, I thought it'd be fun - well, okay, at least interesting and even moderately compelling - to make a game out of it. So I bring you ...&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font size="5"&gt;&lt;u&gt;Name That Layout!&lt;/u&gt;&lt;/font&gt;&lt;/p&gt;&lt;/font&gt; &lt;p&gt;&lt;font face="Arial"&gt;Sure to shock and amuse, excite and confuse. Bring your family, bring your friends.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial" size="4"&gt;The Rules&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;Every so often I'll be posting a new "Name That Layout" scenario. Most will consist of a set of screenshots of different types of Windows Forms UI, along with notes on how the UI should behave.&amp;nbsp; The challenge for you, the contestant, will be to respond and say how you think you'd achieve a UI layout of that type - that looks and acts like the screenshots provided.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;The catch: I'll always include a specific "challenge", in the form of "I can layout that UI with ..." and then some bold but almost always true assertion of how it could be achieved in Windows Forms. Anybody can write gobs of code and cobble together UI that looks and acts pretty much any old way, but we're here to learn the Right and Blessed Way of achieving various kinds of simple, advanced, and cool Windows Forms UI.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;In place of further explanation, here's an example ...&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt; &lt;hr id="null" /&gt; &lt;/p&gt; &lt;p&gt; &lt;p&gt;&lt;font face="Arial" size="4"&gt;CHALLENGE #1:&amp;nbsp; In the beginning ...&lt;/font&gt;&lt;/p&gt; &lt;p&gt; &lt;hr id="null" /&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;The Look:&lt;/font&gt;&lt;/p&gt; &lt;p align="center"&gt;&lt;img id="Screenshot1" src="http://www.windowsforms.net/images/blogs/jtchris/SampleLayoutTest%20-%201.jpg" border="0" /&gt;&lt;/p&gt; &lt;p align="center"&gt;&lt;font face="Arial"&gt;&lt;em&gt;Fig. A&lt;/em&gt;&lt;/font&gt;&lt;/p&gt; &lt;p align="center"&gt;&lt;img id="Screenshot1" src="http://www.windowsforms.net/images/blogs/jtchris/SampleLayoutTest%20-%202.jpg" border="0" /&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p align="center"&gt;&lt;font face="Arial"&gt;&lt;em&gt;Fig. B&lt;/em&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;The Behavior:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;When the application starts, it looks like Fig. A. The form can be resized by the user to look like Fig. B. It cannot be made to be smaller than Fig. A or larger than Fig. B.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;The Challenge:&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;I can name that layout ... without using any Whidbey/Windows Forms 2.0 features whatsoever.&lt;/font&gt;&lt;/p&gt; &lt;p&gt; &lt;hr id="null" /&gt; &lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;Simple rules, simple game, and simple first problem ... any takers, or do I have to sit here and talk to myself?&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=246547" width="1" height="1"&gt;</content><author><name>JTChris</name><uri>http://blogs.msdn.com/members/JTChris.aspx</uri></author></entry><entry><title>Windows Forms Layout in Dr. Dobb's Journal</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jtchris/archive/2004/10/15/242891.aspx" /><id>http://blogs.msdn.com/jtchris/archive/2004/10/15/242891.aspx</id><published>2004-10-15T18:07:00Z</published><updated>2004-10-15T18:07:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Arial"&gt;While thumbing through the new issue of Dr. Dobb's Journal at breakfast today, lo' and behold but what should I see? A Windows Forms layout article - specifically one on creating your own layout manager! &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;The author - Richard Grimes - takes you through a good summary of the basics of the layout functionality present in the currently shipping version of Windows Forms. He touches on Docking and Anchoring, Layout events, and few other less-than-highly-visible areas. He then goes on to create a new managed layout container, called a FlowPanel.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;Now for those of you in the audience who have been paying attention to developments in Visual Studio.NET 2005 aka Whidbey, you'll note that we'll be shipping something very similar in Windows Forms 2.0, called the FlowLayoutPanel. Though our panel is obviously more feature-rich than Grimes' sample, he provides a small, crisp subset that is easy to understand and well-worth the reading. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;And incidentally, it's always gratifying to see articles like this. The simple fact that this article a) exists, and b) was published attests to the fact that folks actually want this functionality ... which means we made the right call in investing in it for the next version. &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;Check out the article here: &lt;/font&gt;&lt;a href="http://www.ddj.com/articles/2004/0411/"&gt;&lt;font face="Arial"&gt;http://www.ddj.com/articles/2004/0411/&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=242891" width="1" height="1"&gt;</content><author><name>JTChris</name><uri>http://blogs.msdn.com/members/JTChris.aspx</uri></author></entry><entry><title>Wonderous Windows Forms</title><link rel="alternate" type="text/html" href="http://blogs.msdn.com/jtchris/archive/2004/10/04/237854.aspx" /><id>http://blogs.msdn.com/jtchris/archive/2004/10/04/237854.aspx</id><published>2004-10-05T02:05:00Z</published><updated>2004-10-05T02:05:00Z</updated><content type="html">&lt;p&gt;&lt;font face="Arial"&gt;Howdy there ...&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;My name is Jeff Chrisope, and I am one of the hordes of Microsoft Program Managers&amp;nbsp;working on the&amp;nbsp;Whidbey (aka Visual Studio 2005) release of Windows Forms.&amp;nbsp;Notice that I didn't say&amp;nbsp;I work on the&amp;nbsp;"Windows Forms team", because that's&amp;nbsp;oh-so v1.0. For reasons both complicated and boring, the team itself is called the ".NET Client team" -- though nobody internally calls us that, so you don't have to, either.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;Okay, enough of THAT.&amp;nbsp;&lt;/font&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;I've been in and around the .NET Framework team since it became that, in various capacities. Over the last couple of years I've been working exclusively on Windows Forms, owning a diverse set of features including:&lt;/font&gt;&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;font face="Arial"&gt;In-situ property editing&lt;/font&gt; &lt;li&gt;&lt;font face="Arial"&gt;"Action" Smart Tags (ala Office)&lt;/font&gt; &lt;li&gt;&lt;font face="Arial"&gt;Property Grid improvements&lt;/font&gt; &lt;li&gt;&lt;font face="Arial"&gt;Layout features&lt;/font&gt; &lt;li&gt;&lt;font face="Arial"&gt;Client settings&lt;/font&gt; &lt;li&gt;&lt;font face="Arial"&gt;Random grab-bag of other stuff&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;font face="Arial"&gt;Sound like fun?&amp;nbsp;Well, it has been fun, very much so, for the most part. Lots of smart people here, lots of good thinking ... but also often quite a tight schedule, which can lead to sadness and despair when it comes to getting a cool feature ready to ship.&amp;nbsp; I say all this because half - and I do mean fully half - of the features listed above will not see the light of day in Whidbey.&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;"Whoa, huh?" you may ask. Indeed. Want to learn more details? You'll have to wait ... for the feature series of&amp;nbsp;blog blathering&amp;nbsp;entitled "&lt;strong&gt;Death of a Feature&lt;/strong&gt;". &lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;But on a more positive note, I'll START with a different series of blog blathering, which I'll call "&lt;strong&gt;Name That Layout&lt;/strong&gt;".&amp;nbsp; The various new layout features in Whidbey - AutoSize, TableLayoutPanel, FlowLayoutPanel, plus some bonus gizmos and thingamajigs - are very powerful and can be used in a variety of scenarios ... but it's not always immediately clear how to get from start to finish with a given layout. Too many knobs, not enough time.&amp;nbsp; So ...&amp;nbsp;this series will be around me (like all good blogs) presenting a set of dialogs as a "quiz", then seeing how y'all get along with creating that form using the layout tools in Whidbey.&amp;nbsp;Rules next time.&amp;nbsp;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face="Arial"&gt;So stay tuned - more lessons about life, love, and Whidbey rich client development just around the corner ...&lt;/font&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=237854" width="1" height="1"&gt;</content><author><name>JTChris</name><uri>http://blogs.msdn.com/members/JTChris.aspx</uri></author></entry></feed>