Page 1 of 1

xBrowser MDI

PostPosted: Sat Apr 05, 2008 11:38 pm
by Otto
Does a xBrowser work in a MDI window.
Thanks in advance
Otto

PostPosted: Sat Apr 05, 2008 11:48 pm
by Antonio Linares
Otto,

Do you mean in the main MDI window or in the MDICHILD windows ?

PostPosted: Sun Apr 06, 2008 6:49 am
by Otto
Antonio, in the MainMDI.
Regards,
Otto

PostPosted: Mon Apr 07, 2008 9:06 am
by Antonio Linares
Otto,

You have to understand how the MDI environment is designed by Microsoft and how it works. It is clearly explained in the FiveWin docs.

There is a "invisible" window, child of the main MDI window, that controls the child windows. You can't place a control on top of that "invisible" or it will be managed as a MDI child too (cascaded, tiled, etc.)

So the only solution is to resize the "invisible" window and free an area for the browse. This approach is implemented in fwh\samples\Test2003.prg

PostPosted: Mon Apr 07, 2008 10:18 am
by Otto
Antonio, thank you for the explanation.
Regards,
Otto