Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Window ist bigger after restoring from minimized
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Window ist bigger after restoring from minimized

 Post Reply Post Reply
Author
Message
iamgtd View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25 February 2009
Status: Offline
Points: 131
Post Options Post Options   Thanks (0) Thanks(0)   Quote iamgtd Quote  Post ReplyReply Direct Link To This Post Topic: Window ist bigger after restoring from minimized
    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#

---------
Back to Top
agontarenko View Drop Down
Admin Group
Admin Group


Joined: 25 March 2016
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote agontarenko Quote  Post ReplyReply Direct Link To This Post 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 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.