Tabbed MDI control

Topics: Developer Forum
Coordinator
Jun 11, 2006 at 11:39 PM
After this first version is out of beta I would like to add a Tabbed MDI control. Any interest?
Jun 14, 2006 at 9:20 AM
Sounds nice, perhaps even create a MDI 'framework'. Like in Visual Studio, where you can switch between MDI and SDI.
Coordinator
Jun 15, 2006 at 2:50 AM
That’s what I’m thinking also. I’ve been using user controls placed on top of each other in the main form to get the same effect. It works but what a pain to maintain.
Jul 5, 2006 at 9:53 PM
Off course!!!
Jul 8, 2006 at 2:58 AM
I am looking for Tabbed MDI that:

1, Allow me to change caption font.
2, Support Rendering unicode (complex script unicode) most control out there render text with GDI+ which is currently not meet this requirement.
Coordinator
Jul 8, 2006 at 12:30 PM
I currently use GDI+ in the controls to render text. I saw the new TextRenderer class as more for automatic sizing of complex scripts. Do the current controls not render complex scripts correctly if you set the size large enough for them? If not I will change how I render text to the new class.
Coordinator
Jul 8, 2006 at 7:35 PM
I added the complex script support to the existing controls today. I you are interested in a compiled install of beta 2 with this for testing just let me know. I will use this in the MDI tab.
Jul 10, 2006 at 2:18 AM
Dear Scorn,

Thank for your first attemp unfortunately it not success.
It can not render our script correctly.
Please find my testing screenshot compare with normal label control rendering.<br />
<img src="http://www.sroksreonline.com/khmerunicode.gif">
Jul 10, 2006 at 2:25 AM
I think it is .net framework itself not support my script.
I am no expert in control development but I wonder can you just put the label control instead of rendering text ourself :D

However I really love to use Ascend.NET and I am much appreciated if it support my script.
Coordinator
Jul 10, 2006 at 3:01 AM
Was the failure to render the script in your image in the latest source code or the beta 1 install?

If it was the latest source code you may be correct that the .Net framework may not support it. I posted in my blog in the news feeds tab what I did to try and support complex scripts.
Jul 10, 2006 at 8:02 AM
I tried it with the 1.0.2 Alpha.
I tried to search in .net framework 3.0 to see it support utf8 text draw or not but no luck as well.
Coordinator
Jul 10, 2006 at 1:36 PM
OK, I will look into how it is done in the label.
Jul 27, 2006 at 6:22 AM
Hi Scorn,

Do you have any progress on this topic so far?

Thanks,
kids
Coordinator
Jul 27, 2006 at 1:58 PM
No, unfortunately everything that I read says that the changes I made in beta 2 should have taken care of this.

The .NET label implements its text render in the same way with the exception of when the FlatStyle is set to System. Does the .NET label render your scripts correctly when the FlatStyle is not set to System?

Another thing to look at is if you have compiled the source code from this project and installed from the project you may need to copy the assemblies to the GAC manually. I keep the assembly build numbers the same between releases so that everyone does not have to constantly change their project references. A side affect of this is sometimes the installer decides not to update the assemblies in the GAC.

Thanks,
Scorn
Sep 2, 2006 at 12:40 PM
The DockPanel suite provided by Weifen Luo (http://sourceforge.net/projects/dockpanelsuite/) is fairly complete. It also supports extenders to change the renderer. An example is provided at http://www.codeproject.com/vb/net/DockPanelSkin.asp
Perhaps extending DockPanel would be better than starting from scratch.
Coordinator
Sep 3, 2006 at 4:21 PM
Yes, they were doing good work. They seem to have stopped doing much at this point. I had not seen the skinning project on codeproject.

I have a .Net 1.1 version that I wrote a couple of years ago. I want to clean up the design and use the current rendering classes so I won’t be starting from scratch. :-)

I will look at the codeproject project and see if there are some ideas to use on the GradientTab control set for the 1.5 release. I plan to use that tab renderer on both the tabbed MDI and RibbonBar in 2.0.

Thanks,
Scorn