WebBrowserComponent & Mouse/Key events


#1

Hi,

 

I have a problem with the Juce WebBrowserComponent. I created a new ResizableWindow and added a WebBrowserComponent as it content component. That works fine except that I don't get mouse or key events now in the window itself anymore (without adding the WebBrowserComponent I get the events). I then tried to create a separate MouseListener and KeyListener, but still this one doesn't get any events except mouse scroll events. What am I doing wrong or is this simply not possible?

 

Thanks alot for your help!


#2

Well yes, that's a heavyweight HWND and will almost certainly swallow any events that arrive at it. Not really sure what could be done about that except by messing about with WndProc hacks.