Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Drawing issue on maximized MDI Form w/ RibbonBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drawing issue on maximized MDI Form w/ RibbonBar

 Post Reply Post Reply
Author
Message
matt.dillard View Drop Down
Newbie
Newbie


Joined: 21 May 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote matt.dillard Quote  Post ReplyReply Direct Link To This Post Topic: Drawing issue on maximized MDI Form w/ RibbonBar
    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_171738_MDIMaximize.zip
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
matt.dillard View Drop Down
Newbie
Newbie


Joined: 21 May 2008
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote matt.dillard Quote  Post ReplyReply Direct Link To This Post 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.

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.172 seconds.