xBrowser MDI

xBrowser MDI

Postby Otto » Sat Apr 05, 2008 11:38 pm

Does a xBrowser work in a MDI window.
Thanks in advance
Otto
User avatar
Otto
 
Posts: 6133
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Otto » Sun Apr 06, 2008 6:49 am

Antonio, in the MainMDI.
Regards,
Otto
User avatar
Otto
 
Posts: 6133
Joined: Fri Oct 07, 2005 7:07 pm

Postby Antonio Linares » Mon Apr 07, 2008 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41461
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Otto » Mon Apr 07, 2008 10:18 am

Antonio, thank you for the explanation.
Regards,
Otto
User avatar
Otto
 
Posts: 6133
Joined: Fri Oct 07, 2005 7:07 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 137 guests

cron