<?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: The BFS.Window.SetLocation no longer works with negative value?</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=2951aded-1610-4501-8c04-36489b972192" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=2951aded-1610-4501-8c04-36489b972192</link>
<description>DisplayFusion RSS: The BFS.Window.SetLocation no longer works with negative value?</description>
<lastBuildDate>Wed, 08 Apr 2026 07:39:29 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=2951aded-1610-4501-8c04-36489b972192</generator>
<item>
<title>RE: The BFS.Window.SetLocation no longer works with negative value?</title>
<link>https://www.displayfusion.com/Discussions/View/the-bfswindowsetlocation-no-longer-works-with-negative-value/?ID=2951aded-1610-4501-8c04-36489b972192#2</link>
<pubDate>Fri, 30 Mar 2018 16:18:40 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/the-bfswindowsetlocation-no-longer-works-with-negative-value/?ID=2951aded-1610-4501-8c04-36489b972192#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[If you move the SetLocation function to be after the SetSize and Rollup, that should fix this up]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
If you move the SetLocation function to be after the SetSize and Rollup, that should fix this up <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>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=d773d458-48cd-4e3d-8a08-6feeb9d3d360"/>
</item>
<item>
<title>The BFS.Window.SetLocation no longer works with negative value?</title>
<link>https://www.displayfusion.com/Discussions/View/the-bfswindowsetlocation-no-longer-works-with-negative-value/?ID=2951aded-1610-4501-8c04-36489b972192</link>
<pubDate>Thu, 29 Mar 2018 22:10:05 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/the-bfswindowsetlocation-no-longer-works-with-negative-value/?ID=2951aded-1610-4501-8c04-36489b972192</guid>
<category>DisplayFusion</category>
<description><![CDATA[I used v7.3.4. I write a scripted function to rollup window to title bar and set y Coordinate to a negative value, so that the rollup window does not cover the menu of the underneath application.
But after I update to v9.1, the negative value does not function anymore. Is there any way to decrea...]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
I used v7.3.4. I write a scripted function to rollup window to title bar and set y Coordinate to a negative value, so that the rollup window does not cover the menu of the underneath application.<br/>
<br/>
But after I update to v9.1, the negative value does not function anymore. Is there any way to decrease the rollup window height? Thanks.<br/>
<br/>
OS: Windows 10 x64<br/>
<br/>
My function:<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="#code019d6c0831c477b7a2c3b19b10c7e0bb" 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('code019d6c0831c477b7a2c3b19b10c7e0bbJs'); 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="code019d6c0831c477b7a2c3b19b10c7e0bbJs" contenteditable="true" spellcheck="true" class="skiptranslate" style="width:100%; min-height:75px;">public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
          BFS.Window.SetLocation(windowHandle, 350, -13);  // work in the v7.3.4, but not v9.1
        BFS.Window.SetSize(windowHandle, 900, 600);        
        BFS.Window.RollupWindowToTitleBar(windowHandle);
        BFS.Window.RemoveFromWindowsTaskbar(windowHandle);
        BFS.Window.SetAlwaysOnTop(windowHandle, true);
    }
}</pre><textarea id="code019d6c0831c477b7a2c3b19b10c7e0bb" name="code019d6c0831c477b7a2c3b19b10c7e0bb" style="position:absolute; top:0; left:-999999px; width:1px; height:1px;"></textarea></div>
</div></div></div>
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=d773d458-48cd-4e3d-8a08-6feeb9d3d360"/>
</item>
</channel>
</rss>