Is there a way to have the MdiTabManager tool tip use UltraTips. I'd like to be able to use UltraTooTips on the mdi tabs but don't see an easy way to do that. Any examples or am I just missing something simple.
Thanks
I've been using code derived from a sample that displays UltraToolTips for other controls. For MdiTabs what I was able to do was the following (in case anyone else is looking for a way to do this)
1) When a MdiTab is activated ( the TabActivated event ) I look in the form.Controls for the MdiTabGroupControl). This is a control that is derived from UltraControlBase and so is something I can pass to my existing ToolTip code. I had to use the TabActivated event since the TabGroupControl appears to only be created when atleast one tab is present. Not the best thing but it seems to work for me.
2) I attach to that and can look for TabCloseButtonUIElement for mousing over the tab close button and TabItemUIElement items for the other parts of the tab that I care about.
The last part was to find a tool tip so I just set show tool tips off on the MdiTabManager and used the tip attached to the tab for my UltraTip. I also have some special code that actually does go to the underlying form and finds the UltraToolTip attached to the form and uses that for the tip.
This is all mostly a hack but does work form my purposes.
Nel
Hi Neil,
UltraToolTipManager provides extender properties for tooltips, but I think it only does this for Controls. Since MdiTabManager is not a control (it's a component), you won't get the extenders.
So you would have to show the tooltips yourself using the ShowToolTip method. If you want to associate the tooltip with a control, I think you can use the MDI Child form itself.