xBrowser MDI

Post Reply
User avatar
Otto
Posts: 6403
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

xBrowser MDI

Post by Otto »

Does a xBrowser work in a MDI window.
Thanks in advance
Otto
User avatar
Antonio Linares
Site Admin
Posts: 42518
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Post by Antonio Linares »

Otto,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 6403
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Post by Otto »

Antonio, in the MainMDI.
Regards,
Otto
User avatar
Antonio Linares
Site Admin
Posts: 42518
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Post 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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 6403
Joined: Fri Oct 07, 2005 7:07 pm
Has thanked: 24 times
Been thanked: 2 times
Contact:

Post by Otto »

Antonio, thank you for the explanation.
Regards,
Otto
Post Reply