Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
21thermostat1
4 discussion posts
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 decrease the rollup window height? Thanks.

OS: Windows 10 x64

My function:

Code

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);
    }
}
• Attachment [protected]: 3.jpg [79,311 bytes]
• Attachment [protected]: 4.jpg [85,547 bytes]
Mar 29, 2018  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If you move the SetLocation function to be after the SetSize and Rollup, that should fix this up :)
Mar 30, 2018  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)