I am currently deserializing my toolwindows from the XML string using the Lazy Layout functionality (using this so I can either create all the toolwindows or select ones).
What I do at the moment is load the XML window positioning data and then I loop through and create/activate the toolwindows using the same window names.
What I then do is to loop through each of the displayed toolwindows and load the appropriate content for each toolwindow.
My problem is the following..... I am doing the above process, instead of creating each toolwindow and immediately loading the content, as I want the user to be presented with the layout before the process starts to load in each window's content.
What I have found is that the user is never presented with the screen layout until my entire routine has completed (i.e. the content has been loaded for all the required toolwindows). However, if I place a msgbox between the toolwindow creation routine and the routine to load the content for all toolwindows, then I see the toolwindow layout.
So, is there a way to trigger a refresh of the docksite, so that the user sees the toolwindow layout before any other code is run.
Thanks,
Bret
What I do at the moment is load the XML window positioning data and then I loop through and create/activate the toolwindows using the same window names.
What I then do is to loop through each of the displayed toolwindows and load the appropriate content for each toolwindow.
My problem is the following..... I am doing the above process, instead of creating each toolwindow and immediately loading the content, as I want the user to be presented with the layout before the process starts to load in each window's content.
What I have found is that the user is never presented with the screen layout until my entire routine has completed (i.e. the content has been loaded for all the required toolwindows). However, if I place a msgbox between the toolwindow creation routine and the routine to load the content for all toolwindows, then I see the toolwindow layout.
So, is there a way to trigger a refresh of the docksite, so that the user sees the toolwindow layout before any other code is run.
Thanks,
Bret