Print Page | Close Window

What's happend with MDI and 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=13630
Printed Date: 07 October 2024 at 4:18am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: What's happend with MDI and Ribbonbar?
Posted By: vie87vn
Subject: What's happend with MDI and Ribbonbar?
Date Posted: 09 March 2009 at 11:02pm
I'm using ver 12.1.1 and C#. But, when I change style form MID = Flase to True. It's result:
This is MDI = True;


And this is MDI = False;


The sample on Install Dir is OK, but I tried, not successful :(
Watz' problem? How to fix?
Thankx a lot!




Replies:
Posted By: Oleg
Date Posted: 10 March 2009 at 1:50am

Hi,

 
add these lines
 
foreach (Control ctrl in this.Controls)
  {
            if (ctrl is MdiClient)
   {                  
    CommandBars.SetMDIClient(ctrl.Handle.ToInt32());
   }
  }


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



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