Print Page | Close Window

Ribbonbar + MDI problem

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=8895
Printed Date: 18 June 2025 at 2:03am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbonbar + MDI problem
Posted By: b4gn0
Subject: Ribbonbar + MDI problem
Date Posted: 26 November 2007 at 6:58am
Hello all,

first of all I wanted to thank you for providing such powerful tools to the development community.

I incurred in a problem related to Ribbonbars and MDI forms.

Development environment: VB6

When i maximize a form, its name appears on the titlebar, in brackets ("[ MDI FORM 1 ]"). But when i close it, its name doesn't disappear.

It happens also on the sample you provided concerned the same controls.

Is there any method/property i am missing, that has been omitted in the sample too?

Thanks for your time,

Alex Bagnolini



Replies:
Posted By: Oleg
Date Posted: 26 November 2007 at 10:05am
Hi,
 
What version do you use? I can't reproduce it with last 11.2.1 release.


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


Posted By: b4gn0
Date Posted: 26 November 2007 at 10:09am
Version 11.2.1

Sample in
"Samples - Command Bars - Visual Basic 6.0 - Ribbon MDI Sample"

Maximize "Document 1" then close it.

Thank you for your time


Posted By: Oleg
Date Posted: 27 November 2007 at 10:16am
Indeed.  :-(
As I see problem appeared when CommandBars.EnableOffice2007FrameHandle frmD.hwnd used
 
Please use this strange Workaround for now:
 
Add for frmDocument:
 

Private Sub Form_Unload(Cancel As Integer)
    If WindowState = vbMaximized Then Caption = ""
End Sub


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


Posted By: b4gn0
Date Posted: 27 November 2007 at 10:26am
Thank you for your answer, i did develop a workaround too, but my guess was if i was doing something wrong 

Alex



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