<?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: Function not working anymore</title>
<atom:link href="https://www.displayfusion.com/Discussions/RSS/?TopicID=01973c14-8224-70fb-945c-e154a6b8bec0" rel="self" type="application/rss+xml" />
<link>https://www.displayfusion.com/Discussions/RSS/?TopicID=01973c14-8224-70fb-945c-e154a6b8bec0</link>
<description>DisplayFusion RSS: Function not working anymore</description>
<lastBuildDate>Fri, 01 May 2026 17:53:57 GMT</lastBuildDate>
<language>en</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>https://www.displayfusion.com/Discussions/RSS/?TopicID=01973c14-8224-70fb-945c-e154a6b8bec0</generator>
<item>
<title>RE: Function not working anymore</title>
<link>https://www.displayfusion.com/Discussions/View/function-not-working-anymore/?ID=01973c14-8224-70fb-945c-e154a6b8bec0#3</link>
<pubDate>Mon, 09 Jun 2025 17:11:26 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/function-not-working-anymore/?ID=01973c14-8224-70fb-945c-e154a6b8bec0#3</guid>
<category>DisplayFusion</category>
<description><![CDATA[That seems to have solved the issue. I wonder if they removed it during a Win 11 update..]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
That seems to have solved the issue. I wonder if they removed it during a Win 11 update..
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=01973c14-83c1-724f-9997-c203ba645cf3"/>
</item>
<item>
<title>RE: Function not working anymore</title>
<link>https://www.displayfusion.com/Discussions/View/function-not-working-anymore/?ID=01973c14-8224-70fb-945c-e154a6b8bec0#2</link>
<pubDate>Thu, 05 Jun 2025 17:47:22 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/function-not-working-anymore/?ID=01973c14-8224-70fb-945c-e154a6b8bec0#2</guid>
<category>DisplayFusion</category>
<description><![CDATA[Can you run this installer and see if the issue persists? https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.16-windows-x64-installer]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
Can you run this installer and see if the issue persists? <a href="https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.16-windows-x64-installer" target="_blank" rel="nofollow"><b>https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-8.0.16-windows-x64-installer</b></a>
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=01973c14-83c1-724f-9997-c203ba645cf3"/>
</item>
<item>
<title>Function not working anymore</title>
<link>https://www.displayfusion.com/Discussions/View/function-not-working-anymore/?ID=01973c14-8224-70fb-945c-e154a6b8bec0</link>
<pubDate>Wed, 04 Jun 2025 17:54:27 GMT</pubDate>
<dc:creator>Binary Fortress Software</dc:creator>
<guid isPermaLink="false">https://www.displayfusion.com/Discussions/View/function-not-working-anymore/?ID=01973c14-8224-70fb-945c-e154a6b8bec0</guid>
<category>DisplayFusion</category>
<description><![CDATA[This function is supposed to take up 1/3 of the screen from the left, but it stopped working a while ago. Not sure what chaged:
using System;
using System.Drawing;
public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
Rectangle monitorRect = BFS.Monitor....]]></description>
<content:encoded><![CDATA[<div class="CTDiscussions">
This function is supposed to take up 1/3 of the screen from the left, but it stopped working a while ago. Not sure what chaged: <br/>
<br/>
<div class="Inline"><pre>using System;
using System.Drawing;
public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        Rectangle monitorRect = BFS.Monitor.GetMonitorWorkAreaByWindow(windowHandle);
        BFS.Window.SetSizeAndLocation(windowHandle, 
            monitorRect.Left + (int)(monitorRect.Width * 0.3333), monitorRect.Top, 
            monitorRect.Width - (int)(monitorRect.Width * 0.3333), monitorRect.Height);
    }
}</pre></div><br/>
<br/>
Error: <br/>
Run Failed.<br/>
Exception has been thrown by the target of an invocation.<br/>
Method not found: 'System.Drawing.Rectangle BFScripting.MonitorBase.GetMonitorWorkAreaByWindow(IntPtr)'.<br/>
[System.MissingMethodException]<br/>
[System.Reflection.TargetInvocationException]
</div>
]]></content:encoded>
<media:thumbnail url="https://www.displayfusion.com/Discussions/Download/?ID=01973c14-83c1-724f-9997-c203ba645cf3"/>
</item>
</channel>
</rss>