> > Just wondering how exactly you are doing it ? Are you linking to gecko or
> > embedding the window itself ? If the latter, the way under the linux is to
>
> I embed the window itself.  No reference to Gecko at all, though that
> was my first attempt at the component.
>
> I found an article on the Borland Developer Network about how Borland
> managed to get Gecko embedded inside an application window for Kylix.
> It was a bit ugly though.  It would have been nice though, because
> then I could use any plugin Mozilla supports or display fancy html
> (with CSS) inside the window.  Even control it via Javascript would
> have been nice. :-)

On Winblows you can embed any application inside a window with SetWindowPos,
although
I'm not sure how much CPU it takes to continually readjust a window with
SetWindowPos.
(setparent does not work because of the application belonging to a separate
process space)
Then send messages to the application's API. To make it look even more embedded,
turn
off the top window title bar with another API command. Of course with all the
dumb
Windows XP skins out there, each application probably won't match your parent
application
anyway. This trick is much easier to use if your applicaiton uses a generic
skin.
i.e. the standard OS skin default.


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to