Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / [BlueGUI] SetGadget on WebBrowser gadgets doesn't resize

Author
Message
Omen
17
Years of Service
User Offline
Joined: 7th Nov 2006
Location: Maple Grove, MN US
Posted: 15th Jun 2008 04:46
I have a webBrowser gadget inside a Window gadget. I am trying to get the webBrowser child to resize when the Window parent is resized. I searched through the forums, but didn't find an answer to this.

Here's the setup:



Here's the event detection:

Edit: I know for sure the event is being detected properly, as I added a text message and a wait key in the resize function, so I know it gets called on a resize



...and here's the resize function:



Attached is a screenshot of what happens - the webBrowser doesn't get resized

I'm using BlueGUI v2.054

Attachments

Login to view attachments
MSon
19
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Earth, (I Think).
Posted: 15th Jun 2008 06:56
You cant resize a Webgadget,the only way you can do that is to get the UrL, Delete the Old Browser, then make a new one to the new size, then reset the URL, Its a pain but its the only way.

Everyone Be Cool, You, Be Cool.
Omen
17
Years of Service
User Offline
Joined: 7th Nov 2006
Location: Maple Grove, MN US
Posted: 15th Jun 2008 19:18
@Mson,

Thanks for the suggestion, that works fine. I had to put a limiter on the re-build so it was only done once (see code below) and now it works like a charm.



Login to post a reply

Server time is: 2024-04-19 06:09:39
Your offset time is: 2024-04-19 06:09:39