<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>slmultiwindow Discussions Rss Feed</title><link>http://slmultiwindow.codeplex.com/discussions</link><description>slmultiwindow Discussions Rss Description</description><item><title>New Post: Does this work on a Mac?</title><link>http://slmultiwindow.codeplex.com/discussions/432731</link><description>&lt;div style="line-height: normal;"&gt;I have not tested this project on Mac as I neither own a Mac or have access to one. If you find issues with Mac and are able to fix the source then feel free to contribute the fixes back to the project.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Phil&lt;br /&gt;
&lt;/div&gt;</description><author>ptrelford</author><pubDate>Mon, 11 Feb 2013 19:10:21 GMT</pubDate><guid isPermaLink="false">New Post: Does this work on a Mac? 20130211071021P</guid></item><item><title>New Post: Does this work on a Mac?</title><link>http://slmultiwindow.codeplex.com/discussions/432731</link><description>&lt;div style="line-height: normal;"&gt;I am using a new window as a modal window.  It works as expected on Win7 -- main window is disabled, new window can be move separately from main window, etc.&lt;br /&gt;
When I ran the app on a Mac, the animation I use to display the new window was run (the main window's opacity is changed to make it appear disabled), but the child window did not appear, and the main window was not actually disabled.&lt;br /&gt;
&lt;br /&gt;
If this package does not work on Mac, does anyone have an idea for what might?&lt;br /&gt;
Thanks --&lt;br /&gt;
&lt;/div&gt;</description><author>ccbVT</author><pubDate>Mon, 11 Feb 2013 17:13:22 GMT</pubDate><guid isPermaLink="false">New Post: Does this work on a Mac? 20130211051322P</guid></item><item><title>New Post: Controlling modal window's background / opacity?</title><link>http://slmultiwindow.codeplex.com/discussions/431765</link><description>&lt;div style="line-height: normal;"&gt;P/Invoke will only work on Windows in an Out-of-Browser (OOB) application with Elevated Trust. You can however detect the runtime environment before calling.&lt;br /&gt;
&lt;br /&gt;
P.S. There is a known issue in WPF (and Silverlight) related to &amp;quot;the containing window appears as solid white as soon as ShowDialog() is called&amp;quot;:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://social.msdn.microsoft.com/Forums/en/wpf/thread/bdb414fe-9abb-408c-8935-486e1795755b" rel="nofollow"&gt;WPF Window with black background flashes white when first shown&lt;/a&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;/ul&gt;
One way to work around this is to load the content of the window before you show it.&lt;br /&gt;
&lt;/div&gt;</description><author>ptrelford</author><pubDate>Thu, 07 Feb 2013 07:07:36 GMT</pubDate><guid isPermaLink="false">New Post: Controlling modal window's background / opacity? 20130207070736A</guid></item><item><title>New Post: Controlling modal window's background / opacity?</title><link>http://slmultiwindow.codeplex.com/discussions/431765</link><description>&lt;div style="line-height: normal;"&gt;&lt;strong&gt;ptrelford wrote:&lt;/strong&gt;&lt;br /&gt;
&lt;blockquote&gt;
It is possible to set a window's background color and/or opacity using P/Invoke, see &lt;a href="http://trelford.com/blog/post/AgSpackle.aspx" rel="nofollow"&gt;Silverlight 5 Native Windows P/Invoke&lt;/a&gt; for more details.&lt;br /&gt;
&lt;/blockquote&gt;
Very helpful, thanks.&lt;br /&gt;
My app has to run on the Mac, as well; will this technique work on the Mac?&lt;br /&gt;
&lt;/div&gt;</description><author>ccbVT</author><pubDate>Wed, 06 Feb 2013 22:28:56 GMT</pubDate><guid isPermaLink="false">New Post: Controlling modal window's background / opacity? 20130206102856P</guid></item><item><title>New Post: How to make Modal Windows borderless?</title><link>http://slmultiwindow.codeplex.com/discussions/431762</link><description>&lt;div style="line-height: normal;"&gt;3) How does the modal child window communicate with its parent (reporting a user's selection, for example)?&lt;br /&gt;
&lt;br /&gt;
The child window's DataContex can be used to communicate values with the parent.&lt;br /&gt;
&lt;/div&gt;</description><author>ptrelford</author><pubDate>Wed, 06 Feb 2013 21:12:18 GMT</pubDate><guid isPermaLink="false">New Post: How to make Modal Windows borderless? 20130206091218P</guid></item><item><title>New Post: Controlling modal window's background / opacity?</title><link>http://slmultiwindow.codeplex.com/discussions/431765</link><description>&lt;div style="line-height: normal;"&gt;It is possible to set a window's background color and/or opacity using P/Invoke, see &lt;a href="http://trelford.com/blog/post/AgSpackle.aspx" rel="nofollow"&gt;Silverlight 5 Native Windows P/Invoke&lt;/a&gt; for more details.&lt;br /&gt;
&lt;/div&gt;</description><author>ptrelford</author><pubDate>Wed, 06 Feb 2013 21:00:22 GMT</pubDate><guid isPermaLink="false">New Post: Controlling modal window's background / opacity? 20130206090022P</guid></item><item><title>New Post: Controlling modal window's background / opacity?</title><link>http://slmultiwindow.codeplex.com/discussions/431765</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Is it possible to control a modal window's background color or opacity?&lt;br /&gt;
I can animate the content's appearance and disappearance, but the containing window appears as solid white as soon as ShowDialog() is called.&lt;/p&gt;
&lt;p&gt;I suspect this is a limitation of the Window class...&lt;/p&gt;
&lt;/div&gt;</description><author>ccbVT</author><pubDate>Sat, 02 Feb 2013 19:28:09 GMT</pubDate><guid isPermaLink="false">New Post: Controlling modal window's background / opacity? 20130202072809P</guid></item><item><title>New Post: How to make Modal Windows borderless?</title><link>http://slmultiwindow.codeplex.com/discussions/431762</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Hello,&lt;br /&gt;
This looks very useful -- having a model window that is not constrained to the parent's border.&lt;br /&gt;
I get an 'OutOfRange' exception when trying to set the window style.&lt;br /&gt;
                    win = new Window();&lt;br /&gt;
                    win.Content = c;&lt;br /&gt;
                    win.WindowStyle = WindowStyle.BorderlessRoundCornersWindow;&lt;br /&gt;
Three questions:&lt;br /&gt;
1) How to change the style of the Window to borderless?&lt;br /&gt;
2) How would the content tell the modal parent to close itself?&lt;br /&gt;
3) How does the modal child window communicate with its parent (reporting  a user's selection, for example)?&lt;/p&gt;
&lt;p&gt;Thanks for any help with this....&lt;/p&gt;
&lt;/div&gt;</description><author>ccbVT</author><pubDate>Sat, 02 Feb 2013 18:31:16 GMT</pubDate><guid isPermaLink="false">New Post: How to make Modal Windows borderless? 20130202063116P</guid></item><item><title>New Post: Problem with Zoom and resized in in-browser mode</title><link>http://slmultiwindow.codeplex.com/discussions/344581</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Thanks for reporting the issues.&lt;/p&gt;
&lt;p&gt;1. The zoom issue is fixed in the latest source code. The Silverlight 4 ChildWindow implementation behaved differently in Silverlight 5. The fix has been applied&amp;nbsp;to the UpdateRenderTransform method:&lt;/p&gt;
&lt;div style="color: black; background-color: white;"&gt;
&lt;pre&gt;&lt;span style="color: blue;"&gt;double&lt;/span&gt; factor =
     Application.Current.Host.Settings.EnableAutoZoom
     ? Application.Current.Host.Content.ZoomFactor
     : 1;
Point p10 = &lt;span style="color: blue;"&gt;new&lt;/span&gt; Point(1 / factor, 0);
Point p01 = &lt;span style="color: blue;"&gt;new&lt;/span&gt; Point(0, 1 / factor);
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&amp;nbsp;2. The resize should now work in-browser too.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;div id="_mcePaste" class="mcePaste" style="position: absolute; width: 1px; height: 1px; overflow: hidden; top: 0px; left: -10000px;"&gt;﻿&lt;/div&gt;&lt;/div&gt;</description><author>ptrelford</author><pubDate>Fri, 02 Mar 2012 21:45:51 GMT</pubDate><guid isPermaLink="false">New Post: Problem with Zoom and resized in in-browser mode 20120302094551P</guid></item><item><title>New Post: Problem with Zoom and resized in in-browser mode</title><link>http://slmultiwindow.codeplex.com/discussions/344581</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;this solution is very nice.&lt;/p&gt;
&lt;p&gt;But I found two problems:&lt;/p&gt;
&lt;p&gt;1. When I opened &amp;nbsp;sample project in in-browser mode &amp;nbsp;with zoom , than Overlay size is bad transformed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="color:black; background-color:white"&gt;
&lt;pre&gt;&lt;span style="color:blue"&gt;if&lt;/span&gt; (Application.Current.Host.Settings.EnableAutoZoom)
                {
                    &lt;span style="color:blue"&gt;double&lt;/span&gt; zoomFactor = Application.Current.Host.Content.ZoomFactor;
                    &lt;span style="color:blue"&gt;if&lt;/span&gt; (zoomFactor != 0)
                    {
                        &lt;span style="color:blue"&gt;this&lt;/span&gt;.Height /= zoomFactor;&lt;span style="color:green"&gt;// ?? (this.Height *= zoomFactor;)&lt;/span&gt;
                        &lt;span style="color:blue"&gt;this&lt;/span&gt;.Width /= zoomFactor;&lt;span style="color:green"&gt;// ?? (this.Width *= zoomFactor;)&lt;/span&gt;
                    }
                }
&lt;/pre&gt;
&lt;/div&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2. When I opened &amp;nbsp;sample project in in-browser mode with size 1024*768 and resize ie window than overlay size don't changes.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry, my english is very bad.&lt;/p&gt;
&lt;/div&gt;</description><author>dekan</author><pubDate>Fri, 24 Feb 2012 09:48:35 GMT</pubDate><guid isPermaLink="false">New Post: Problem with Zoom and resized in in-browser mode 20120224094835A</guid></item></channel></rss>