<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>DisplayFusion RSS: Limit cascading to current monitor</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=e13fa69a-3906-4589-9103-ada27b7bbca7" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=e13fa69a-3906-4589-9103-ada27b7bbca7</link>
<description>DisplayFusion RSS: Limit cascading to current monitor</description>
<lastBuildDate>Sun, 19 Apr 2026 13:48:42 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=e13fa69a-3906-4589-9103-ada27b7bbca7</generator>
<item>
<title>RE: Limit cascading to current monitor</title>
<link>https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#6</link>
<pubDate>Wed, 04 Sep 2019 15:22:54 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Nice! Glad to hear you were able to get that working]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Nice! Glad to hear you were able to get that working <img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/face-smile.light.svg" alt=":)" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:16px;height:16px;" HelpButtonData=":)" HelpButtonDataAlign="BelowMiddle" />
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Limit cascading to current monitor</title>
<link>https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#5</link>
<pubDate>Mon, 02 Sep 2019 07:55:43 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello Keith,
I made a Scripted Function for that, I call it when a Windows Explorer window opens.
For info I run Win7 not Win10, don't know if it makes a difference in Epxplorer windows behavior
Code
Copy
Select All
using System;
using System.Drawing;
using System.Collections.Generic;
//...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello Keith,<br/>
I made a Scripted Function for that, I call it when a Windows Explorer window opens.<br/>
For info I run Win7 not Win10, don't know if it makes a difference in Epxplorer windows behavior<br/>
<br/>
<div id="" class="col-md-12 BoxWrap"><div class="Box table-responsive"><a name="code" style="width:0; height:0;"></a><h2 class="TableTitle" style="border:0"><div class="TableTitleText">Code</div><div class="TitleButtons"><div class="TableTitleButton"><a href="#" onclick="return false;" data-clipboard-target="#code019da6002e4b74b5b23e42bd40e3276c" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019da6002e4b74b5b23e42bd40e3276cJs'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;vertical-align:middle !important;width:auto;max-width:16px;height:16px;" /><span class="Text">Select All</span></a></div></div></h2><div class="TableTitleContent table-responsive"><div class="AceEditorWrapper" style="border-top:solid 1px var(--color-default-border);padding:0"><pre id="code019da6002e4b74b5b23e42bd40e3276cJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;
using System.Collections.Generic;

// The 'windowHandle' parameter will contain the window handle for the:
//   - Active window when run by hotkey
//   - Trigger target when run by a Trigger rule
//   - TitleBar Button owner when run by a TitleBar Button
//   - Jump List owner when run from a Taskbar Jump List
//   - Currently focused window if none of these match
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {    
        Rectangle rectWin = BFS.Window.GetBounds(windowHandle);
        // Get the current monitor id from the window top left position
        uint monitor = BFS.Monitor.GetMonitorIDByXY(BFS.Input.GetMousePositionX(), BFS.Input.GetMousePositionY());
        Rectangle rectMonitor = BFS.Monitor.GetMonitorWorkAreaByID(monitor);
        if (rectWin.Width &lt; rectMonitor.Width)
        {
            if (rectWin.X + rectWin.Width &gt; rectMonitor.X + rectMonitor.Width) {
                BFS.Window.SetLocation(windowHandle, rectWin.X - ((rectWin.X + rectWin.Width) - (rectMonitor.X + rectMonitor.Width)) , rectWin.Y);
                return; 
            }
        }
    }
}</pre><textarea id="code019da6002e4b74b5b23e42bd40e3276c" name="code019da6002e4b74b5b23e42bd40e3276c" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Limit cascading to current monitor</title>
<link>https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#4</link>
<pubDate>Thu, 13 Sep 2018 18:18:37 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Ok, there isn't currently a feature that could do that, no. If it's something we're able to add in a future version, we'll definitely let you know.
Thanks!]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Ok, there isn't currently a feature that could do that, no. If it's something we're able to add in a future version, we'll definitely let you know.<br/>
<br/>
Thanks!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Limit cascading to current monitor</title>
<link>https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#3</link>
<pubDate>Mon, 10 Sep 2018 19:22:56 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[The second proposition is what i would expect : the cascading would continue only vertically
rather than a classical cascading with an vertical ans horizontal offset.]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
The second proposition is what i would expect : the cascading would continue only vertically<br/>
rather than a classical cascading with an vertical ans horizontal offset.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Limit cascading to current monitor</title>
<link>https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#2</link>
<pubDate>Mon, 10 Sep 2018 18:05:21 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[By blocked, do you mean that once it hits that point, you don't want it to be able to open any more new windows? e.g. You press Ctrl + N, the window is partially on the second screen, so DisplayFusion closes it?
Or do you want DisplayFusion to just move it back inside the work area?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
By blocked, do you mean that once it hits that point, you don't want it to be able to open any more new windows? e.g. You press Ctrl + N, the window is partially on the second screen, so DisplayFusion closes it?<br/>
<br/>
Or do you want DisplayFusion to just move it back inside the work area?
</div>
]]></content:encoded>
</item>
<item>
<title>Limit cascading to current monitor</title>
<link>https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7</link>
<pubDate>Mon, 10 Sep 2018 12:18:57 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/limit-cascading-to-current-monitor/?ID=e13fa69a-3906-4589-9103-ada27b7bbca7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hello,
Is there a feature I could use within DisplayFusion that would prevent cascading to open windows were the right border of the newly opened window is no more on my current monitor but appears on my N+1 monitor?
To simulate the problem, on your left monitor open a wide windows explorer win...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hello,<br/>
Is there a feature I could use within DisplayFusion that would prevent cascading to open windows were the right border of the newly opened window is no more on my current monitor but appears on my N+1 monitor?<br/>
<br/>
To simulate the problem, on your left monitor open a wide windows explorer window and press CTRL+N multiple times.<br/>
After some iterations the close button is no more on your left monitor but on the monitor next to it, I would like the new windows to be "blocked" by the right side of the left monitor.
</div>
]]></content:encoded>
</item>
</channel>
</rss>