« Return to Thread: FXWindow attach function

Re: FXWindow attach function

by Jeroen van der Zijp :: Rate this Message:

Reply to Author | View in Thread

On Thursday 18 June 2009, n d wrote:

> Jeroen van der Zijp wrote:
> > On Thursday 18 June 2009, n d wrote:
> >  
> >> Hello, I've done some reading in the archives of this list, and found
> >> tid-bits about the FXWindow member function attach(). My question is am I
> >> misunderstanding the purpose of this function? After a window has been
> >> attached, is it supposed to be drawn within the FOX app, or is it just
> >> supposed to send its I/O operations and such through the FOX app to be
> >> intercepted? Thanks in advance.
> >>    
> >
> > Neither of these...  What it does is to reparent a foreign window under the
> > FOX widget tree, essentially letting FOX act as a sort of "Window Manager".
> >
> > The effect is that the application that owns the window will be "embedded"
> > inside the FOX application, which then assumes control over its geometry.
> >
> >
> > - Jeroen
> >
> >  
>
> Aha, I don't quite understand what you mean by the windows "geometry."
> Other than that, thanks for the answer. Thats a rather huge
> misunderstanding on my part.

Basically, once the widget is reparented using attach, FOX decides where
on the screen it shows, and what the width and height is...


                - Jeroen

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Foxgui-users mailing list
Foxgui-users@...
https://lists.sourceforge.net/lists/listinfo/foxgui-users

 « Return to Thread: FXWindow attach function