<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.silverlight.net/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>Programming with .NET - General</title><link>http://forums.silverlight.net/forums/17.aspx</link><description>General discussions around authoring Silverlight .NET applications.</description><dc:language>en</dc:language><generator>CommunityServer 2007 (Build: 20416.853)</generator><item><title>Re: Silverlight 2 windowless strange behaviour on Vista Sidebar Gadget</title><link>http://forums.silverlight.net/forums/thread/152877.aspx</link><pubDate>Sat, 27 Dec 2008 01:38:36 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:152877</guid><dc:creator>julioc</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/152877.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=152877</wfw:commentRss><description>&lt;p&gt;Thanks a lot Matthias, having the Silverlight app size set smaller than the size of the gadget made the trick for me too.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Julio&lt;/p&gt;</description></item><item><title>Re: Silverlight 2 windowless strange behaviour on Vista Sidebar Gadget</title><link>http://forums.silverlight.net/forums/thread/142105.aspx</link><pubDate>Thu, 04 Dec 2008 06:25:09 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:142105</guid><dc:creator>matthiasshapiro</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/142105.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=142105</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/silverlight/images/icon-quote.gif"&gt; &lt;strong&gt;Timmy G:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m also having this problem; for me no keyboard input is accepted in the textbox or password box control. I&amp;#39;ve tried setting windowless=false but that makes the settings and&amp;nbsp;close buttons that appear for all gadgets disappear so that&amp;#39;s a dead end too. Setting the size of the object element in the html did not fix the problem either.&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;br /&gt;I was having this problem as well. The solution I found was to have the Silverlight app size set smaller than the size of the gadget as a whole. The problem is (I think) one of competing interactions. The Silverlight app doesn&amp;#39;t inform the gadget that the user has moused over the Silverlight portion of the gadget. So what you need to do is allow the user some space that isn&amp;#39;t taken up by a Silverlight app. I used a 5px difference, and that worked pretty well. &lt;/p&gt;&lt;p&gt;&amp;nbsp;The other option is to host your Silverlight app online and put it into the html page via an &amp;lt;iframe /&amp;gt;. That solution is pretty seamless, but it also means that the user needs to be connected to the internet when they boot their machine... otherwise the gadget won&amp;#39;t load.&lt;/p&gt;&lt;p&gt;If this is helping at all, you can download my silverlight gadget here:&lt;/p&gt;&lt;p&gt;http://www.designerwpf.com/2008/12/03/updated-silverlight-color-picker-gadget/&lt;/p&gt;&lt;p&gt;I also talk more about this over here:&lt;/p&gt;&lt;p&gt;http://www.designerwpf.com/2008/12/03/tips-for-creating-a-silverlight-2-gadget-for-vista/&lt;/p&gt;&lt;p&gt;&amp;nbsp;I hope that helps. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Silverlight 2 windowless strange behaviour on Vista Sidebar Gadget</title><link>http://forums.silverlight.net/forums/thread/134334.aspx</link><pubDate>Thu, 20 Nov 2008 02:35:20 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:134334</guid><dc:creator>Timmy G</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/134334.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=134334</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m also having this problem; for me no keyboard input is accepted in the textbox or password box control. I&amp;#39;ve tried setting windowless=false but that makes the settings and&amp;nbsp;close buttons that appear for all gadgets disappear so that&amp;#39;s a dead end too. Setting the size of the object element in the html did not fix the problem either.&lt;/p&gt;
&lt;p&gt;I must admit, I&amp;#39;m really disappointed that there is no native support for Silverlight or WPF in the Sidebar (especially WPF). This is the primary development platform for Windows and I can&amp;#39;t imagine it would have been all that difficult to support it... I found someone on the web that did it themselves even. Ok, so Vista was late getting out the door and maybe this was a corner to cut to ship on time, but how long was that? To not have included native WPF support in SP1 is absurd. Does anyone at MS want the sidebar to succeed? If so, they need to allow developers to use first class tools to write gadgets.&lt;/p&gt;
&lt;p&gt;-- Extremely annoyed and ready to bail on this project entirely!&lt;/p&gt;</description></item><item><title>Re: Silverlight 2 windowless strange behaviour on Vista Sidebar Gadget</title><link>http://forums.silverlight.net/forums/thread/116834.aspx</link><pubDate>Fri, 24 Oct 2008 14:05:58 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:116834</guid><dc:creator>kakoskin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/116834.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=116834</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m experiencing the very same problem. windowless=true makes controls behave weirdly, keyboard input is not properly captured, also&lt;br /&gt;handle on the slider control is doing funny things like moving back and forth.&lt;/p&gt;</description></item><item><title>Re: Silverlight 2 windowless strange behaviour on Vista Sidebar Gadget</title><link>http://forums.silverlight.net/forums/thread/111681.aspx</link><pubDate>Fri, 17 Oct 2008 07:32:40 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:111681</guid><dc:creator>Sergey.Lutay</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/111681.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=111681</wfw:commentRss><description>&lt;p&gt;Hi Julio,&lt;/p&gt;
&lt;p&gt;Have you tried change size of object element?&lt;/p&gt;</description></item><item><title>Silverlight 2 windowless strange behaviour on Vista Sidebar Gadget</title><link>http://forums.silverlight.net/forums/thread/111676.aspx</link><pubDate>Fri, 17 Oct 2008 07:20:41 GMT</pubDate><guid isPermaLink="false">d0d632c8-a6f7-4f68-b0ce-26aaafd62132:111676</guid><dc:creator>julioc</dc:creator><slash:comments>0</slash:comments><comments>http://forums.silverlight.net/forums/thread/111676.aspx</comments><wfw:commentRss>http://forums.silverlight.net/forums/commentrss.aspx?SectionID=17&amp;PostID=111676</wfw:commentRss><description>&lt;p&gt;I created a Silverlight 2 RTM Vista Sidebar Gadget. This is how I declare the SL object in my html page:&lt;/p&gt;
&lt;p&gt;&amp;lt;object data=&amp;quot;data:application/x-silverlight-2,&amp;quot; type=&amp;quot;application/x-silverlight-2&amp;quot; width=&amp;quot;100%&amp;quot; height=&amp;quot;100%&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;param name=&amp;quot;source&amp;quot; value=&amp;quot;&lt;a href="http://localhost:8662/ClientBin/TheGadget.xap"&gt;http://localhost:8662/ClientBin/TheGadget.xap&lt;/a&gt;&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;param name=&amp;quot;background&amp;quot; value=&amp;quot;transparent&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;param name=&amp;quot;minRuntimeVersion&amp;quot; value=&amp;quot;2.0.31005.0&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;param name=&amp;quot;autoUpgrade&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;param name=&amp;quot;windowless&amp;quot; value=&amp;quot;true&amp;quot; /&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;a href=&amp;quot;&lt;a href="http://go.microsoft.com/fwlink/?LinkID=124807"&gt;http://go.microsoft.com/fwlink/?LinkID=124807&lt;/a&gt;&amp;quot; style=&amp;quot;text-decoration: none; color:White&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;img src=&amp;quot;GetSilverlight.png&amp;quot; alt=&amp;quot;Get Microsoft Silverlight&amp;quot; style=&amp;quot;border-style: none&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/a&amp;gt;&lt;br /&gt;&amp;lt;/object&amp;gt;&lt;/p&gt;
&lt;p&gt;I use the &lt;strong&gt;windowless&lt;/strong&gt; parameter with a &lt;strong&gt;true&lt;/strong&gt; value in order to display the small controls on right side of the gadget that allow you to close or move the gadget. Without windowless=true those controls would just not appear. &lt;/p&gt;
&lt;p&gt;But, once I use the windowless=true you&amp;nbsp;are not&amp;nbsp;able to type into the textboxes of the SL application, or click a button there. You can write in the textboxes only if you double click them before writing, and you can click the button but only by double clicking it. So, the windowless has some kind of very strange effect over all the SL aplication when it is inside the Vista sidebar.&lt;/p&gt;
&lt;p&gt;Is there any way I can display the gadget controls to close or move the gadget without using the windowless parameter so I stop having this strange behaviours?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Julio&lt;/p&gt;</description></item></channel></rss>