<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>jfo's coding - All Comments</title><link>http://blogs.msdn.com/b/jfoscoding/</link><description>adventures in windows forms and wpf</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Random tip of the day: adding a shortcut to all desktops in Windows Vista Server 2008</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/11/18/random-tip-of-the-day-adding-a-shortcut-to-all-desktops-in-windows-vista-server-2008.aspx#9932760</link><pubDate>Fri, 04 Dec 2009 20:36:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9932760</guid><dc:creator>jfoscoding</dc:creator><description>&lt;p&gt;That I'm not entirely sure of - I would probably look into policies.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9932760" width="1" height="1"&gt;</description></item><item><title>re: Random tip of the day: adding a shortcut to all desktops in Windows Vista Server 2008</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/11/18/random-tip-of-the-day-adding-a-shortcut-to-all-desktops-in-windows-vista-server-2008.aspx#9932556</link><pubDate>Fri, 04 Dec 2009 15:36:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9932556</guid><dc:creator>adrian</dc:creator><description>&lt;p&gt;but if i want to add a shortcut to all the clients that log on server? what you said helps for every local account &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9932556" width="1" height="1"&gt;</description></item><item><title>re: High DPI - it's an everyone thing.</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/10/11/high-dpi-it-s-an-everyone-thing.aspx#9906968</link><pubDate>Wed, 14 Oct 2009 03:24:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9906968</guid><dc:creator>Peter Eb.</dc:creator><description>&lt;p&gt;You need to talk about web pages too, IE and Firefox do different things in high dpi mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9906968" width="1" height="1"&gt;</description></item><item><title>re: Creating a bug repro viewer in 5 minutes</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/10/01/creating-a-bug-repro-viewer-in-5-minutes.aspx#9905534</link><pubDate>Fri, 09 Oct 2009 20:20:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9905534</guid><dc:creator>Xan</dc:creator><description>&lt;p&gt;Other options :&lt;/p&gt;
&lt;p&gt;- use a text editor with always-on-top functionality (for example notepad++ - this is very useful also for code collage :))&lt;/p&gt;
&lt;p&gt;- use a tool like powermenu which can make any window always on top &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9905534" width="1" height="1"&gt;</description></item><item><title>re: Tip: creating your own snippets</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/09/08/tip-creating-your-own-snippets.aspx#9896378</link><pubDate>Thu, 17 Sep 2009 18:13:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9896378</guid><dc:creator>Doug</dc:creator><description>&lt;p&gt;Snippets are great.&lt;/p&gt;
&lt;p&gt;The Code Snippet Manager on the other hand is confusing and I prefer to just drop my snippet into the correct directory.&lt;/p&gt;
&lt;p&gt;eg. [Documents]\[VS Version]\Code Snippets\Visual C#\My Code Snippets&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9896378" width="1" height="1"&gt;</description></item><item><title>re: OnRender is not as cheap as OnPaint</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/09/08/onrender-is-not-as-cheap-as-onpaint.aspx#9894394</link><pubDate>Sat, 12 Sep 2009 00:31:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9894394</guid><dc:creator>jfoscoding</dc:creator><description>&lt;P&gt;The short answer is that the Microsoft.Windows.Design.Interaction and Microsoft.Windows.Design.Extensibility APIs are now shared by VS and Blend. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Property Editing API and the Adorner API are now both shared. &amp;nbsp;The Adorner API has been simplified (you can use a AdornerHorizontal/VerticalAlignment + Margin combo if you find that easier than the &amp;nbsp;AdornerPlacementCollection).&lt;/P&gt;
&lt;P&gt;If you have some existing VS 2008 (Orcas) designers written against Cider, you will need to rev them for Dev10, as the ModelItem apis had to change to support both WPF and Silverlight.&lt;/P&gt;
&lt;P&gt;There are some older documents here for VS 2008&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/jnak/archive/2007/08/24/cider-extensibility-help-documentation.aspx" rel=nofollow target=_new&gt;http://blogs.msdn.com/jnak/archive/2007/08/24/cider-extensibility-help-documentation.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I'll work on proper answers for the rest - it will take me a while though as I would like to give you the answer based on a more current release as the answers are less likely to have changed.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9894394" width="1" height="1"&gt;</description></item><item><title>re: OnRender is not as cheap as OnPaint</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/09/08/onrender-is-not-as-cheap-as-onpaint.aspx#9894201</link><pubDate>Fri, 11 Sep 2009 17:25:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9894201</guid><dc:creator>Phil Wright</dc:creator><description>&lt;p&gt;In particular how to create a great design time experience for a Silverlight and WPF pair of controls. I have created a control that has a version in both technologies. &lt;/p&gt;
&lt;p&gt;1, How do you get a Silverlight/WPF control to be automatically added to the toolbox so they appear as another toolbox tab alongside the standard ones. I want to do this at install time ideally. I read somewhere that VS2010 has a different method of doing this than previous versions.&lt;/p&gt;
&lt;p&gt;2, How to provide custom property editors that work in blend and VS2010.&lt;/p&gt;
&lt;p&gt;3, How to add a custom adorner for blend and VS2010.&lt;/p&gt;
&lt;p&gt;4, How to add extra XAML that is auto generated by the designer when you drop that control on a designer in blend/VS2010.&lt;/p&gt;
&lt;p&gt;5, List of best practices for creating custom controls.&lt;/p&gt;
&lt;p&gt;I'm sure I can think of more once you run out!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9894201" width="1" height="1"&gt;</description></item><item><title>re: OnRender is not as cheap as OnPaint</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/09/08/onrender-is-not-as-cheap-as-onpaint.aspx#9893516</link><pubDate>Thu, 10 Sep 2009 10:18:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9893516</guid><dc:creator>jfoscoding</dc:creator><description>&lt;p&gt;Thanks! Keep the ideas coming - what particular areas do you think you'd need most help with?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9893516" width="1" height="1"&gt;</description></item><item><title>re: OnRender is not as cheap as OnPaint</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/09/08/onrender-is-not-as-cheap-as-onpaint.aspx#9893510</link><pubDate>Thu, 10 Sep 2009 10:03:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9893510</guid><dc:creator>Phil Wright</dc:creator><description>&lt;p&gt;Welcome back to the world of blogging.&lt;/p&gt;
&lt;p&gt;If you need recommendations on topics to blog I can think of plenty around Silverlight and WPF design time experiences. Such as explaining the common details of Blend3/VS2010 design time experience for control developers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9893510" width="1" height="1"&gt;</description></item><item><title>re: Demystifying WPF/Silverlight layout properties</title><link>http://blogs.msdn.com/b/jfoscoding/archive/2009/09/07/demystifying-wpf-silverlight-layout-properties.aspx#9893388</link><pubDate>Thu, 10 Sep 2009 02:33:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9893388</guid><dc:creator>jfoscoding</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;DesiredSize is a layout output, yes. &amp;nbsp;I believe it is a side effect of calling Measure(). &amp;nbsp;If you find you're out of date you can call Measure() manually before calling DesiredSize. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think you may be able to find out if the DesiredSize needs a refresh via the IsMeasureValid flag.&lt;/p&gt;
&lt;p&gt;It's best if you're in a situation where you can work with layout within the layouting events. &lt;/p&gt;
&lt;p&gt;UpdateLayout() does a lot more work than you probably want it to -- so if you can avoid that it's usually a good idea.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9893388" width="1" height="1"&gt;</description></item></channel></rss>