Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Scripted function for maximizing window accounting for padding

Avatar from Gravatar.com
BaronVonInternet
8 discussion posts
I have a monitor with padding on one side. If I click the window's maximize button on the title bar, it maximizes correctly.

If I call a C# scripted function that uses
BFS.Window.Maximize(windowHandle)
it maximizes the window to the full width of the monitor without taking padding into account. Is there a DisplayFusion-specific function I can call that will maximize the window for me, taking padding into account? If so, are there also equivalent functions for
BFS.Window.IsMaximized(windowHandle)
and
BFS.Window.Restore(windowHandle)
?

Thanks!

Edit: I also tried using a "Custom" function with a Window Screen Action "Move to monitor #X and maximize" but that also ignores padding. Could that be a bug?
Apr 23, 2018 (modified Apr 23, 2018)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I just had a look, and it looks like this is a known issue on our list. I've added your info to it and we'll be sure to let you know when it's all fixed up.

Thanks!
Apr 23, 2018  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We've just released a new DisplayFusion beta version (https://www.displayfusion.com/Download/Beta/) and this issue should be all fixed up. Please let us know if you run into any trouble after updating.

Thanks!
Jun 25, 2018  • #3
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply