<?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: Ability to move window to top right corner - without resizing</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946</link>
<description>DisplayFusion RSS: Ability to move window to top right corner - without resizing</description>
<lastBuildDate>Fri, 19 Jun 2026 03:43:56 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946</generator>
<item>
<title>RE: Ability to move window to top right corner - without resizing</title>
<link>https://www.displayfusion.com/Discussions/View/ability-to-move-window-to-top-right-corner-without-resizing/?ID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946#3</link>
<pubDate>Wed, 24 May 2017 00:33:56 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/ability-to-move-window-to-top-right-corner-without-resizing/?ID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi PabloMartinez,
Many thanks for your response, it is much appreciated and it works...
Again thanks,
John]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi PabloMartinez,<br/>
<br/>
Many thanks for your response, it is much appreciated and it works...<br/>
<br/>
Again thanks,<br/>
John
</div>
]]></content:encoded>
</item>
<item>
<title>RE: Ability to move window to top right corner - without resizing</title>
<link>https://www.displayfusion.com/Discussions/View/ability-to-move-window-to-top-right-corner-without-resizing/?ID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946#2</link>
<pubDate>Tue, 23 May 2017 05:21:30 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/ability-to-move-window-to-top-right-corner-without-resizing/?ID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi. Here's a simple solution.
Code
Copy
Select All
using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
var wBounds = BFS.Window.GetBounds(windowHandle);
/// For primary monitor
var wArea = BFS.Monitor.GetPrimary...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi. Here's a simple solution. <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=":)" /> <br/>
<div 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="#code019eddfa6c39754fa01c464fdfb644bb" class="ClipboardCopyControl"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/clone.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;width:auto;max-width:16px;height:16px;" /><span class="Text">Copy</span></a></div><div class="TableTitleButton"><a href="#" onclick="bfs.util.codeEditorSelectAll('code019eddfa6c39754fa01c464fdfb644bbJs'); return false;"><img src="https://www.displayfusion.com/MediaCommon/SVGs/FontAwesome/square-check.blue.svg" style="box-sizing:border-box;position:relative;overflow:hidden;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="code019eddfa6c39754fa01c464fdfb644bbJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">using System;
using System.Drawing;

public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        var wBounds = BFS.Window.GetBounds(windowHandle);
        /// For primary monitor
        var wArea = BFS.Monitor.GetPrimaryMonitorWorkArea();

        /// Uncomment the following lines that you need.

        /// Top Left

        //BFS.Window.SetLocation(windowHandle, wArea.Left, wArea.Top);
        
        /// Top Right

        //BFS.Window.SetLocation(windowHandle, wArea.Right - wBounds.Width, wArea.Top);
        
        /// Bottom Left

        //BFS.Window.SetLocation(windowHandle, wArea.Left, wArea.Bottom - wBounds.Height);

        /// Bottom Right

        //BFS.Window.SetLocation(windowHandle, wArea.Right - wBounds.Width, wArea.Bottom - wBounds.Height);

        /// "Always on top"

        BFS.Window.SetAlwaysOnTop(windowHandle, true);
    }
}</pre><textarea id="code019eddfa6c39754fa01c464fdfb644bb" name="code019eddfa6c39754fa01c464fdfb644bb" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
</item>
<item>
<title>Ability to move window to top right corner - without resizing</title>
<link>https://www.displayfusion.com/Discussions/View/ability-to-move-window-to-top-right-corner-without-resizing/?ID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946</link>
<pubDate>Tue, 23 May 2017 00:45:33 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/ability-to-move-window-to-top-right-corner-without-resizing/?ID=21b25afb-47dd-4a0a-82ab-aff5bf0b6946</guid>
<category>DisplayFusion</category>
<description><![CDATA[Hi,
In a trigger I would like to move a window to the top right corner of the screen and then make it 'always on top'.
How can I do the move to top right corner (no resizing) in a script.
I can see how to make the window 'always on top'.
Many thanks,
John]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Hi,<br/>
<br/>
In a trigger I would like to move a window to the top right corner of the screen and then make it 'always on top'.<br/>
<br/>
How can I do the move to top right corner (no resizing) in a script.<br/>
<br/>
I can see how to make the window 'always on top'.<br/>
<br/>
Many thanks,<br/>
John
</div>
]]></content:encoded>
</item>
</channel>
</rss>