I am using the layout engine in the ActiveX control. It is possible to write an application that instantiates my control in a dialog but only navigates somewhere when the user clicks on a button. Until the button is clicked, the layout engine sitting in the contol is in a "created and visible but not showing any HTML content" state. It does not attempt to paint itself at all in this state meaning the window becomes dirty as windows are moved around over the top of it. Would it be possible for the layout engine to paint itself a solid colour when in this state?
Kevin -- I think we need a backstop renderer. If the page is empty (or no windows are open) perhaps the main window should render a background.
The problem is there isn't any document so there isn't any frame around to paint the background. We should probably give the webshell a chance to look at paint events. If the webshell see's that there isn't a document loaded it can paint and consume the paint event. If there is a document it should do nothing and the normal. The default background color should come from the presentation context. A presentation context factory would be provided to the webshell so that the embedding app could change what the background initial background color.
Moving to M10
Moving to M11
Moving to M12
Moving to M13
I'm guessing this would also solve the problem with frames having undefined content before they have their document loaded - right?
Moving to M15
*** This bug has been marked as a duplicate of 5569 ***