Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Ribbonbar + MDI problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbonbar + MDI problem

 Post Reply Post Reply
Author
Message
b4gn0 View Drop Down
Groupie
Groupie


Joined: 26 November 2007
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote b4gn0 Quote  Post ReplyReply Direct Link To This Post Topic: Ribbonbar + MDI problem
    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
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: 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
Back to Top
b4gn0 View Drop Down
Groupie
Groupie


Joined: 26 November 2007
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote b4gn0 Quote  Post ReplyReply Direct Link To This Post 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
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: 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
Back to Top
b4gn0 View Drop Down
Groupie
Groupie


Joined: 26 November 2007
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote b4gn0 Quote  Post ReplyReply Direct Link To This Post 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
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.063 seconds.