<?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: Is there a way to either expand or remove redline when mirroring?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=01970e8e-2676-70b7-abed-752a00159a42" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=01970e8e-2676-70b7-abed-752a00159a42</link>
<description>DisplayFusion RSS: Is there a way to either expand or remove redline when mirroring?</description>
<lastBuildDate>Sun, 05 Apr 2026 17:17:10 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=01970e8e-2676-70b7-abed-752a00159a42</generator>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#10</link>
<pubDate>Mon, 02 Jun 2025 14:13:28 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#10</guid>
<category>DisplayFusion</category>
<description><![CDATA[That's really odd, I tested it here and I still can't seem to reproduce it. Could you send me a copy of your troubleshooting info? Here are the steps:
Open the DisplayFusion Settings  Troubleshooting tab
Click the "Export Info to File" button
Reply with the file attached]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
That's really odd, I tested it here and I still can't seem to reproduce it. Could you send me a copy of your troubleshooting info? Here are the steps:<br/>
 <br/>
<ul class="ListBullet">
<li>Open the DisplayFusion Settings > Troubleshooting tab</li>
<li>Click the "Export Info to File" button</li>
<li>Reply with the file attached</li></ul>
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#9</link>
<pubDate>Fri, 30 May 2025 03:54:11 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#9</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Thanks for sending that over, I'll download Guild Wars here and test it out.
Does it happen with any other games?
So I did end up finding a work around (not ideal but it works) by using an additional software (borderless gaming) and putting the games in flat out windowed mode and then u...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Thanks for sending that over, I'll download Guild Wars here and test it out. <br/>
<br/>
Does it happen with any other games?</div></div><br/>
<br/>
So I did end up finding a work around (not ideal but it works) by using an additional software (borderless gaming) and putting the games in flat out windowed mode and then using the borderless gaming software to make it full screen borderless. After doing it and using Display Fusion to mirror it seems to have worked. I dont really know why this works opposed to just putting those 2 games just in borderless windowed mode within the game settings. But its at least a temporary solution!
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#8</link>
<pubDate>Thu, 29 May 2025 23:14:07 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#8</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Thanks for sending that over, I'll download Guild Wars here and test it out.
Does it happen with any other games?
Well I can see why you said it wasnt replicating on your end at first, looks like it works with a lot of the other games I play regularly, the other game I play regularly wh...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Thanks for sending that over, I'll download Guild Wars here and test it out. <br/>
<br/>
Does it happen with any other games?</div></div><br/>
<br/>
Well I can see why you said it wasnt replicating on your end at first, looks like it works with a lot of the other games I play regularly, the other game I play regularly where ive found this exact issue is Final Fantasy 14, I just tested it on about 10-15 other games and it looks like it works fine on those. But the 2 mmorpgs that I play is where I experience the issue found in the screenshot I posted earlier.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#7</link>
<pubDate>Thu, 29 May 2025 18:49:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#7</guid>
<category>DisplayFusion</category>
<description><![CDATA[Thanks for sending that over, I'll download Guild Wars here and test it out.
Does it happen with any other games?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Thanks for sending that over, I'll download Guild Wars here and test it out. <br/>
<br/>
Does it happen with any other games?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#6</link>
<pubDate>Wed, 28 May 2025 22:41:16 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#6</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Strange, I can't seem to reproduce that here. If you just run the mirror function manually without your script, does the same thing happen?
Hey Owen, I just tried using the built in mirror function on a full screen borderless windowed mode game I have attached a picture as an example of ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Strange, I can't seem to reproduce that here. If you just run the mirror function manually without your script, does the same thing happen?</div></div><br/>
<br/>
Hey Owen, I just tried using the built in mirror function on a full screen borderless windowed mode game I have attached a picture as an example of what I am seeing. As you can see at the bottom where the abilities and the chat box are there is the red line to show what is being captured which is just enough space from the bottom of the screen where the task bar would originally be. Attached is a picture.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#5</link>
<pubDate>Wed, 28 May 2025 13:15:57 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#5</guid>
<category>DisplayFusion</category>
<description><![CDATA[Strange, I can't seem to reproduce that here. If you just run the mirror function manually without your script, does the same thing happen?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Strange, I can't seem to reproduce that here. If you just run the mirror function manually without your script, does the same thing happen?
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#4</link>
<pubDate>Tue, 27 May 2025 22:23:48 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#4</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Which mirror function are you using?
Yep it looks like I am Mirroring the window, The Script i am using is below
using System;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;
using System.Drawing;
public static class DisplayFusionFunction
...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Which mirror function are you using?</div></div><br/>
<br/>
Yep it looks like I am Mirroring the window, The Script i am using is below<br/>
<br/>
using System;<br/>
using System.Runtime.InteropServices;<br/>
using System.Threading;<br/>
using System.Windows.Forms;<br/>
using System.Drawing;<br/>
<br/>
public static class DisplayFusionFunction<br/>
{<br/>
    // -----------------------------------------------------------<br/>
    // P/Invoke declarations for window manipulation<br/>
    // -----------------------------------------------------------<br/>
    <br/>
    [DllImport("user32.dll")]<br/>
    private static extern IntPtr GetForegroundWindow();<br/>
<br/>
    [DllImport("user32.dll")]<br/>
    private static extern IntPtr GetAncestor(IntPtr hwnd, uint gaFlags);<br/>
    private const uint GA_ROOT = 2;<br/>
<br/>
    [DllImport("user32.dll")]<br/>
    private static extern bool IsWindowVisible(IntPtr hWnd);<br/>
<br/>
    [DllImport("user32.dll", SetLastError = true)]<br/>
    private static extern int GetWindowLong(IntPtr hWnd, int nIndex);<br/>
    <br/>
    [DllImport("user32.dll", SetLastError = true)]<br/>
    private static extern int SetWindowLong(IntPtr hWnd, int nIndex, int dwNewLong);<br/>
    private const int GWL_STYLE = -16;<br/>
    private const int GWL_EXSTYLE = -20;<br/>
<br/>
    [DllImport("user32.dll", SetLastError = true)]<br/>
    private static extern bool SetWindowPos(<br/>
        IntPtr hWnd, <br/>
        IntPtr hWndInsertAfter,<br/>
        int X, int Y, int cx, int cy,<br/>
        uint uFlags);<br/>
<br/>
    // Standard window style constants.<br/>
    private const int WS_BORDER     = 0x00800000;<br/>
    private const int WS_DLGFRAME   = 0x00400000;<br/>
    private const int WS_CAPTION    = WS_BORDER | WS_DLGFRAME;<br/>
    private const int WS_THICKFRAME = 0x00040000;<br/>
    private const int WS_POPUP      = unchecked((int)0x80000000);<br/>
    private const int WS_VISIBLE    = 0x10000000;<br/>
<br/>
    // Extended window style constants.<br/>
    private const int WS_EX_NOACTIVATE = 0x08000000;<br/>
    private const int WS_EX_TOOLWINDOW = 0x00000080;<br/>
<br/>
    // SetWindowPos flags.<br/>
    private const uint SWP_NOMOVE      = 0x0002;<br/>
    private const uint SWP_NOSIZE      = 0x0001;<br/>
    private const uint SWP_NOZORDER    = 0x0004;<br/>
    private const uint SWP_FRAMECHANGED= 0x0020;<br/>
    private const uint SWP_SHOWWINDOW  = 0x0040;<br/>
<br/>
    public static void Run()<br/>
    {<br/>
        try<br/>
        {<br/>
            // -----------------------------------------------------------<br/>
            // STEP 1: Immediately store the active (target) window handle.<br/>
            //         This ensures we capture the desired window, not a previous one.<br/>
            // -----------------------------------------------------------<br/>
            IntPtr targetWindow = GetForegroundWindow();<br/>
            if (targetWindow == IntPtr.Zero || !IsWindowVisible(targetWindow))<br/>
            {<br/>
                MessageBox.Show("No valid window in the foreground.", "Mirror Error");<br/>
                return;<br/>
            }<br/>
<br/>
            // -----------------------------------------------------------<br/>
            // STEP 2: Close any existing mirror windows.<br/>
            // -----------------------------------------------------------<br/>
            IntPtr[] oldMirrors = BFS.Window.GetWindowsByText("*mirror window*");<br/>
            if (oldMirrors != null)<br/>
            {<br/>
                foreach (IntPtr m in oldMirrors)<br/>
                {<br/>
                    if (m != IntPtr.Zero)<br/>
                        BFS.Window.Close(m);<br/>
                }<br/>
            }<br/>
            for (int i = 0; i &lt; 10; i++)<br/>
            {<br/>
                IntPtr[] check = BFS.Window.GetWindowsByText("*mirror window*");<br/>
                if (check == null || check.Length == 0)<br/>
                    break;<br/>
                Thread.Sleep(50);<br/>
            }<br/>
            Thread.Sleep(500);<br/>
<br/>
            // -----------------------------------------------------------<br/>
            // STEP 3: Create the mirror by mirroring the stored target window.<br/>
            // -----------------------------------------------------------<br/>
            BFS.DisplayFusion.MirrorWindow(targetWindow);<br/>
            Thread.Sleep(300);<br/>
<br/>
            // -----------------------------------------------------------<br/>
            // STEP 4: Retrieve the new mirror window.<br/>
            // -----------------------------------------------------------<br/>
            IntPtr[] newMirrors = BFS.Window.GetWindowsByText("*mirror window*");<br/>
            if (newMirrors == null || newMirrors.Length == 0)<br/>
            {<br/>
                MessageBox.Show("Mirror window not found.", "Mirror Error");<br/>
                return;<br/>
            }<br/>
            IntPtr mirrorHandle = newMirrors[0];<br/>
<br/>
            // -----------------------------------------------------------<br/>
            // STEP 5: Remove borders and adjust window style.<br/>
            //         Also add extended styles to keep it non-activating.<br/>
            // -----------------------------------------------------------<br/>
            int style = GetWindowLong(mirrorHandle, GWL_STYLE);<br/>
            int newStyle = style & ~(WS_CAPTION | WS_THICKFRAME);<br/>
            newStyle |= WS_POPUP | WS_VISIBLE;<br/>
            SetWindowLong(mirrorHandle, GWL_STYLE, newStyle);<br/>
            SetWindowPos(mirrorHandle, IntPtr.Zero, 0, 0, 0, 0,<br/>
                         SWP_FRAMECHANGED | SWP_NOMOVE | SWP_NOSIZE | SWP_NOZORDER);<br/>
<br/>
            int exStyle = GetWindowLong(mirrorHandle, GWL_EXSTYLE);<br/>
            exStyle |= WS_EX_NOACTIVATE | WS_EX_TOOLWINDOW;<br/>
            SetWindowLong(mirrorHandle, GWL_EXSTYLE, exStyle);<br/>
<br/>
            // -----------------------------------------------------------<br/>
            // STEP 6: Force the mirror window onto monitor 3.<br/>
            //         (This uses DisplayFusion’s built-in function to reposition<br/>
            //          and maximize the mirror window on monitor 3.)<br/>
            // -----------------------------------------------------------<br/>
            Screen[] screens = Screen.AllScreens;<br/>
            if (screens.Length &lt; 3)<br/>
            {<br/>
                MessageBox.Show("Monitor 3 not found.", "Mirror Error");<br/>
                return;<br/>
            }<br/>
            BFS.Window.MoveToMonitorMaximized(3, mirrorHandle);<br/>
        }<br/>
        catch (Exception ex)<br/>
        {<br/>
            MessageBox.Show("An error occurred: " + ex.Message, "Mirror Error");<br/>
        }<br/>
    }<br/>
}
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#3</link>
<pubDate>Tue, 27 May 2025 13:35:22 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Quote:
Which mirror function are you using?
Good Morning Owen! I am using the Mirror Window (no border) function if I recall correctly (currently at work so i can't look over all the C# code otherwise I would paste it right now) I need the Window Mirror over the monitor Mirror due to needing to...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
<div class="BackGrey"><div class="Text"><div><b>Quote:</b></div>Which mirror function are you using?</div></div><br/>
<br/>
Good Morning Owen! I am using the Mirror Window (no border) function if I recall correctly (currently at work so i can't look over all the C# code otherwise I would paste it right now) I need the Window Mirror over the monitor Mirror due to needing to capture one only one window to send it over to a capture card, ive got that entire thing working its mainly just the Red Box to indicate what window is being mirrored that is causing an issue. I wasnt sure if there was something in the settings that I was missing where a person could either manually set the dimensions or a way to disable the indicator box all together. If none of this information helps let me know and when i get home Ill send over the C# Code later today. <br/>
<br/>
As a side note what I do find funny is that although the redbox stops at the top of the task bar (or where the task bar would be when running a game in boarderless windowed mode), it fully captures the game. I just get the redline going through the bottom of the game up to where the task bar would be even though the task bar isnt present when the game is open.
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#2</link>
<pubDate>Tue, 27 May 2025 12:46:01 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Which mirror function are you using?]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Which mirror function are you using?
</div>
]]></content:encoded>
</item>
<item>
<title>Is there a way to either expand or remove redline when mirroring?</title>
<link>https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42</link>
<pubDate>Mon, 26 May 2025 21:44:46 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/is-there-a-way-to-either-expand-or-remove-redline-when-mirroring/?ID=01970e8e-2676-70b7-abed-752a00159a42</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hey Ya'll ive been using display fusion to mirror a window to another monitor in this case its been full screen boarderless games. but the issue im having is the redbox indicator only goes to the top of where the taskbar would be and since the game is in full screen boarderless windowed mode the ...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hey Ya'll ive been using display fusion to mirror a window to another monitor in this case its been full screen boarderless games. but the issue im having is the redbox indicator only goes to the top of where the taskbar would be and since the game is in full screen boarderless windowed mode the game utilizes the full screen and not only to the top of the task bar. I was wondering if there was a way to either change the diementions of the red indicator box or make it disappear all together.
</div>
]]></content:encoded>
</item>
</channel>
</rss>