WebBrowserComponent not getting mouse/key events

what do you mean “reload”.

if you reload the content of the webpage each time it’s visible, you will re-POST or re-GET to the web server, this can’t happen.

Well that’s exactly what’s going to happen…

well i think that this is very bad.

a lot of web (if not the most), depends on keeping the session alive, if you reload the page you loose this information (look at gmail, facebook, tweeter).

is there a way to call win32 repaint on the activex?

There’s nothing wrong with the repainting - but when you take the component off the screen, it gets told to display a blank page, to stop it carrying on using resources like audio, etc. That could be made optional I guess, but I’ve no time to look at it at the moment - if you want to take a look inside the browser stuff, please feel free to have a go.

well i took your advise and added a simple bool parameter to the constructor, so that it does not “turn itslef off” when changing visibility.

two files changes (win32 only)

http://edo.im/data/patch.zip

it works for me, i hope you can add this to the juce repo (this way or any other), so that i don’t have to patch your pure juce repo :slight_smile:

Thanks!