
Hi,
I have developed an application that allows the user to create many toolwindows on the fly (dashboard type environment) and also create individual toolwindows within each of these parent toolwindows. Each of these children can contain a various graphical module (charts; datagrids; other visualisation tools).
So, the layout is
Parent ToolWindow Parent ToolWindow Parent ToolWindow
- Child ToolWindow - Child ToolWindow - Child ToolWindow
- Child ToolWindow - Child ToolWindow - Child ToolWindow
- Child ToolWindow - Child ToolWindow
- Child ToolWindow
Unfortunately I am suffering from the issue that the entire WPF app stops due to running the 'UI' on the single thread, when I try to create a single Child Tool Window with the appropriate visualisation content. (Or if I try to render or recalculate the contents of a toolwindow).
So, I am now looking at how I could create each of these windows on a separate thread so that I could be analysing the contents of one 'Parent ToolWindow',while a 'Child ToolWindow' renders/calculates in another 'Parent ToolWindow'.
Just wondering if you have any examples of achieving this through any current Actipro examples. I am able to create each toolwindow when initialized as a separate thread. However, I am having trouble accessing the appropriate window as everything is now running on a separate thread.
For instance I am adding the toolwindow on one thread to the docksite of the parent, but of course it is running on another thread.
ParentDockSite.ToolWindows.Add(ChildToolWindow)
Do you know if this is possible and how I could achieve this?. Sorry if this is a non-Actipro issue, but I have looked all over the web and I cannot see how I can reference a toolwindow that belongs to another thread.
Thanks
Bret
I have developed an application that allows the user to create many toolwindows on the fly (dashboard type environment) and also create individual toolwindows within each of these parent toolwindows. Each of these children can contain a various graphical module (charts; datagrids; other visualisation tools).
So, the layout is
Parent ToolWindow Parent ToolWindow Parent ToolWindow
- Child ToolWindow - Child ToolWindow - Child ToolWindow
- Child ToolWindow - Child ToolWindow - Child ToolWindow
- Child ToolWindow - Child ToolWindow
- Child ToolWindow
Unfortunately I am suffering from the issue that the entire WPF app stops due to running the 'UI' on the single thread, when I try to create a single Child Tool Window with the appropriate visualisation content. (Or if I try to render or recalculate the contents of a toolwindow).
So, I am now looking at how I could create each of these windows on a separate thread so that I could be analysing the contents of one 'Parent ToolWindow',while a 'Child ToolWindow' renders/calculates in another 'Parent ToolWindow'.
Just wondering if you have any examples of achieving this through any current Actipro examples. I am able to create each toolwindow when initialized as a separate thread. However, I am having trouble accessing the appropriate window as everything is now running on a separate thread.
For instance I am adding the toolwindow on one thread to the docksite of the parent, but of course it is running on another thread.
ParentDockSite.ToolWindows.Add(ChildToolWindow)
Do you know if this is possible and how I could achieve this?. Sorry if this is a non-Actipro issue, but I have looked all over the web and I cannot see how I can reference a toolwindow that belongs to another thread.
Thanks
Bret