Profile Picture

Window Restore changes vertical size

Posted By Brad Swearingen 12 Years Ago
Author
Message
Brad Swearingen
Posted 12 Years Ago
View Quick Profile
Forum Guru

Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 53, Visits: 3
I noticed that when minimizing and restoring my main (NForm) window that the vertical height was increasing each time I did this.  I then tried doing the same thing with the "Nevron User Interface - Part of Nevron .NET Vision - Examples" window and noticed its vertical height changes each time too.  This only happens when using a skin or changing the frame.  I'm using the 11.12.14.12 build.

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hello Brad,

Could you specify what OS do you use?

Best Regards,
Nevron Support Team



Brad Swearingen
Posted 12 Years Ago
View Quick Profile
Forum Guru

Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 53, Visits: 3
I noticed this on Windows 7.

Brad Swearingen
Posted 12 Years Ago
View Quick Profile
Forum Guru

Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 53, Visits: 3
Also, on Windows 7 I'm using the "Windows 7 Basic" theme in case that has something to do with it.  I've not tested on other themes.

Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hello Brad,

I tested the described scenario, but I couldn't reproduce the issue that you described.

On a Windows 7 with "Windows 7 Basic" theme with the version of the assemblies 11.12.14.12

I created a new NForm and in the constructor I set a custom frame as follows:

NFrameAppearance appearance = NUIManager.GetPredefinedFrame(PredefinedFrame.Simple);
FrameAppearance = appearance;

Is there anything else in your code regarding the form which I can set in order to reproduce the problem?

Best Regards,
Nevron Support Team



Brad Swearingen
Posted 12 Years Ago
View Quick Profile
Forum Guru

Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 53, Visits: 3

Thanks for looking into it. 

You don't need to write code.  Just test the "Examples C#" window you provide with the Nevron toolkit, like I wrote ("C:\Program Files (x86)\Nevron Software\Nevron .NET Vision 2011.1 for VS2010\Examples\UI\WinForm\CSharp\bin\Release\Nevron.Examples.UI.WinForm.exe").  This comes with the toolkit install.  I've not changed it.

It shows the same problem.  It starts out maximized when you launch it and is using the VistaPlus frame.  Just restore it, minimize it, restore it, minimize it, etc..  You'll notice after each restore that the bottom grows by a few pixels if you are using a frame or a skin.  When you select Edit>Frame>System Default it stops doing that.  My program has the same exact problem.



Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)Supreme Being (4,329 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 3,039, Visits: 3,746
Hello Brad,

Finally, I manage to reproduce it.
It is caused because of the different behavior of a Win API function under XP and upper versions of Windows.
As soon as we solve it we will let you know.
Sorry for the inconvenience.

Best Regards,
Nevron Support Team



Brad Swearingen
Posted 12 Years Ago
View Quick Profile
Forum Guru

Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)Forum Guru (53 reputation)

Group: Forum Members
Last Active: 8 Years Ago
Posts: 53, Visits: 3
Great.  Thanks.



Similar Topics


Reading This Topic