views:

35

answers:

0

I'm working on a plugin for Firefox on a mac. our plugin has it's own scrollbar. How does the event stucture differ for controlling a scrollbar within a plugin, vs in a normal application?

Symptoms: code works fine in a stand alone application. Mouse wheel works fine in both cases. In plugin, the scrolling isn't live, and often won't actually refresh the screen until the mouse is either moved arbitrarily, or sometimes the screen is forced to refresh somehow otherwise...

I know that plugins have their own UI callbacks (NPP_HandleEvent, etc) but other than that, shouldn't it be pretty much the same?