Hi I embedded gecko under windows with visual C++ .
I have a flickering problem when I switch between pages. I tried to solve it whith my owns windowprocs declaration I identified that a MozillaContentWindowClass window class never disapears and is the mother's window of all MozillaWindowClass windows. So I created a windowProc for the MozillaContentWIndowClass which treats: WM_PAINT: WM_NCPAINT: and creates a transparent background and a transparent color in the window WM_ERASEBKGND : which returns 1 WM_PARENTNOTIFY: which looks for the WM_CREATE message of a child and sets a new windowProc for the children. at the end of the windowProc, the initial windowproc is called The chidren's window proc treats WM_CHILDACTIVATE and creates a transparent background and a transparent color in the window WM_ERASEBKGND : which returns 1 WM_PARENTNOTIFY: which looks for the WM_CREATE message of a child and sets a new windowProc for the children. I still have the flickering problem from time to time. And I don't know what to do else. I sow some news about a fade in under js. Is it possible to implement it under visual and how to do that ? I have another possibility. My browser is embedded into a container I made. I could use the start of the navigation to hide the browser and the showpage event to show it. But I never used events under gecko, and I have found no documentation regarding it. COuld yopu help me with this issue. - How events are working . I found some interfaces and API's like nsDOMEventListener and nsIDOMEventTarget , but I don't know how all is jointed.... Could you please help me, with a sample if possible. And with doc if there is one ... Thak's very much for your responses philippe _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
