I'm attempting to get the mousewheel working for my embedding browser.
Here's where I'm stuck.

If I set the focus on an element in a page (drop-down, textbox, or
press tab to an element) I receive WM_MOUSEWHEEL events in my message
handler. I pass these on

However, if I click on the background of a webpage I send a mouse down
event to Mozilla (that's all). This obviously causes any element in
the page to lose it's focus and I no longer receive WM_MOUSEWHEEL
events to my message handler.

I've tried calling nsIWebBrowserFocus::Activate on the mouse up event,
but this doesn't fix it. Does anyone have any other suggestions?

Thanks
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to