
Hello,
I observed a flawed docking behaviour when using a WebBroser control as content of a DocumentWindow.
I was able to observe the following issues:
1. When opening a new DocumentWindow containing a WebBrowser control, the DockSite.WindowActivated event is fired, also the DockSite.WindowDeactivated event is fired if another DocumentWindow was opened before (not containing a WebBrowser control).
2. When switching back to the previously selected DocumentWindow, the DockSite.WindowActivated event is fired, however, the DockSite.WindowDeactivated event is not fired for the DocumentWindow containing the WebBrowser control.
3. When switching back to the DocumentWindow which contains the WebBrowser control, none of the both events is fired.
Consequently, the DockSite.LastActiveWindow property never returns the DocumentWindow containing the WebBrowser control.
While this occures while being in tabbed mode, another observation was made when using tiled mode. When selecting the DocumentWindow containg the WebBrowser control, the tab is not highlighted (eg. the text of the tab is not in bold). Also none of the events is fired.
Is this a known issue with the WebBrowser control?
Many thanks,
Andreas
I observed a flawed docking behaviour when using a WebBroser control as content of a DocumentWindow.
I was able to observe the following issues:
1. When opening a new DocumentWindow containing a WebBrowser control, the DockSite.WindowActivated event is fired, also the DockSite.WindowDeactivated event is fired if another DocumentWindow was opened before (not containing a WebBrowser control).
2. When switching back to the previously selected DocumentWindow, the DockSite.WindowActivated event is fired, however, the DockSite.WindowDeactivated event is not fired for the DocumentWindow containing the WebBrowser control.
3. When switching back to the DocumentWindow which contains the WebBrowser control, none of the both events is fired.
Consequently, the DockSite.LastActiveWindow property never returns the DocumentWindow containing the WebBrowser control.
While this occures while being in tabbed mode, another observation was made when using tiled mode. When selecting the DocumentWindow containg the WebBrowser control, the tab is not highlighted (eg. the text of the tab is not in bold). Also none of the events is fired.
Is this a known issue with the WebBrowser control?
Many thanks,
Andreas