Print Page | Close Window

Window ist bigger after restoring from minimized

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=24038
Printed Date: 26 April 2024 at 5:40am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Window ist bigger after restoring from minimized
Posted By: iamgtd
Subject: Window ist bigger after restoring from minimized
Date Posted: 21 August 2020 at 9:01am
There is a strange behavior when a windows form with Ribbonbar is minimized and then restored. Then the form grows in both directions. Every time it's restored, it's bigger.

You can try it with the original Codejock Ribbonsample-project for C#. 
Start the project and minimize the window and than restore it again. Then the window is bigger.  

This are the sizes noticed in the frmMain_Resize event:
{Width=976, Height=590} --> Original size of the window
{Width=160, Height=28} --> Size when minimized
{Width=976, Height=590} --> Restoring the window, it has the same size as before
{Width=990, Height=627} --> This happens some milliseconds later. The window grows in the width for 14 points and in the height for 17 points every time.
{Width=160, Height=28} --> and so on....
{Width=990, Height=627}
{Width=1004, Height=664}
{Width=160, Height=28}
{Width=1004, Height=664}
{Width=1018, Height=701}

It happens with all styles.

This occurs with the current ActiveX version 19.2 and also with previous versions (e.g. 18.6). The MFC-version is ok.



-------------
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------



Replies:
Posted By: agontarenko
Date Posted: 31 August 2020 at 5:48am
Hello,

I'm glad to inform you that the issue has been addressed and fixed. The fix will be available in the next beta or final release.

Regards,
Artem Gontarenko 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net