Print Page | Close Window

Drawing issue on maximized MDI Form w/ RibbonBar

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=10728
Printed Date: 07 October 2024 at 10:52pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Drawing issue on maximized MDI Form w/ RibbonBar
Posted By: matt.dillard
Subject: Drawing issue on maximized MDI Form w/ RibbonBar
Date Posted: 21 May 2008 at 5:18pm
I have an MDI Child dialog with a ribbon bar and a System button.  If I call EnableFrameTheme() on the ribbon bar, then the system button is cut off whenever the window is maximized.  See the images below (normal & maximized):






This is very simple to reproduce.  The child window's Form_Load looks like this:

Private Sub Form_Load()
    Dim rb As RibbonBar
   
    Set rb = cbMain.AddRibbonBar("Title")
    rb.AddSystemButton
   
    rb.EnableFrameTheme
End Sub

The MDIForm simply brings up the child window.

This was not a problem using version 10.4.1, but it's now blocking our upgrade to 12.0.0.

I've attached a ZIP file containing the (very simple) sample application.
uploads/20080521_171018_MDIMaximize.zip -

uploads/20080521_171738_MDIMaximize.zip - uploads/20080521_171738_MDIMaximize.zip



Replies:
Posted By: Oleg
Date Posted: 22 May 2008 at 2:23am
Hi,
 
Afraid now is only one soltion - don't call
 
rb.EnableFrameTheme


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: matt.dillard
Date Posted: 22 May 2008 at 9:19am
Thank you for responding.  Unfortunately, not calling rb.EnableFrameTheme is not a reasonable work-around for us. 

Please consider fixing this - we're looking forward to using many of the newer features, but cannot upgrade until this bug is taken care of.




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