Posted 15 years ago
by Iosu Buenetxea
![Avatar](https://secure.gravatar.com/avatar/fe75a53b2688ce1802056014ac1381c0.jpg?s=64&d=identicon&r=g)
Hello!!
I have a dockSite with a TabbedMdiHost and a TabbedMdiContainer. At runtime, people can make new TabbedMdihost (and spliters come too). The thing I need is to know the ActiveDocument at any time. I could know the dockSite.ActiveWindow but the ToolWindows are windows too. I see also there is the dockSite.LastActiveDocument...but I can't find something as dockSite.ActiveDocument.
What's the best approach to do it?
Thanks in advance,
Iosu
I have a dockSite with a TabbedMdiHost and a TabbedMdiContainer. At runtime, people can make new TabbedMdihost (and spliters come too). The thing I need is to know the ActiveDocument at any time. I could know the dockSite.ActiveWindow but the ToolWindows are windows too. I see also there is the dockSite.LastActiveDocument...but I can't find something as dockSite.ActiveDocument.
What's the best approach to do it?
Thanks in advance,
Iosu