Hello,
for some reason the LoadToolWindowLayoutFromFile does not work properly in my solution. I use classes derived from ToolWindow so if I let the LoadToolWindowLayoutFromFile instanciate the tool windows they're not of the desired type. So I use the OnToolWindowLayoutLoading event in order to instanciate the tool windows with the appropriate keys, so that they will exist in the dock manager before the LoadToolWindowLayoutFromFile applies the previously saved propertie.
But it does not work well : the tool window size is not applied, and if I have one tool window contained in another one, the containement hierarchy is not applied even though it's saved in the layout file.
So I wonder how to get at runtime the host object of a tool window ? I can have the DockObjectType but there's no DockObject property !
Thank you.