FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowser MDI
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
xBrowser MDI
Posted: Sat Apr 05, 2008 11:38 PM

Does a xBrowser work in a MDI window.
Thanks in advance
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xBrowser MDI
Posted: Sat Apr 05, 2008 11:48 PM

Otto,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
xBrowser MDI
Posted: Sun Apr 06, 2008 06:49 AM

Antonio, in the MainMDI.
Regards,
Otto

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
xBrowser MDI
Posted: Mon Apr 07, 2008 09:06 AM

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
xBrowser MDI
Posted: Mon Apr 07, 2008 10:18 AM

Antonio, thank you for the explanation.
Regards,
Otto

Continue the discussion