[OPEN/BUG] MDI Menus with Ribbon Bar |
Post Reply |
Author | |
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
Posted: 12 October 2010 at 1:06pm |
Hi,
After succesfully implementing the normal MDI Menu structure, i'm now looking to make use of the Ribbon Bar. As soon as I set this up though, The menu's don't switch to the correct MDI Menu even though the correct IDs are getting set through code like before. Is this an issue with the RibbonBar??? |
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hi Hemesh,
I am not sure if this will help or not but I had a problem getting the MDI Ribbon to work correctly a long while back. To resolve this I did the following:
Above is the code I use for working with the MDI Ribbon, basically you need to set the child forms to have the same ID in the the forms "HelpContextID" as that of the ID you specify in the line of code above i.e. "100". |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
Thanks Xander, I'll try that and see what happens later tonight. They do that in the sample application whereby they set the DocID in the GetDocumentID() event to get this to work, but if you've successfully done this via the HelpContextID, it might be a CJ Bug that it's not getting set correctly.
|
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Hemesh,
Let me know if this works for you? This is how I have got the MDI My bad, this was specifically for a MDI application that does not use the Ribbon Bar. It appears that the Ribbon Bar sample works differently and that it creates the illusion of having MDI menus by hiding/showing the menus based on the ActiveForm count. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
Just tried this on my app, and on the sample CJ application and it doesn't work unfortunatly :( Is it possible that you can provide a sample bit of code in ase i'm doing something wrong?
|
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
Hemesh
Senior Member Joined: 10 August 2010 Status: Offline Points: 135 |
Post Options
Thanks(0)
|
I have uploaded a sample application along with a word document explaining the problem
uploads/6296/MDISample.rar Oleg and the ppl at CJ, is this a bug, or something that can be easily implemented? |
|
Product: Xtreme SuitePro (ActiveX) version 18.5.0
Platform: Windows 7 Enterprise (64-bit) Language: Visual Basic 6.0 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |