Hi...
I don't know if this is the right group for my question - it is related to the scrolling of a window.
In Firebird there is a feature that allows to use the middle button of the mouse for scrolling. You press the middle button and a special icon is displayed at the mouse coordinate at the time of the press. You move the mouse up or down while pressing and the window scrolls, while the special icon stays displayed at the same coordinate all the time. It works on linux.
Here is the problem: on the qnx platform the special icon leaves traces up/down.
This is what happens:
- the special icon gets displayed
- nsWindow:Scroll() is called and we blit the content of the window up or down. This means that the special icon will be blitted up or down.
- the special icon is redisplayed at the old position, but portions of it are already displayed up or down, leaving traces.
Any idea why this works ok on linux and how to "fix" it ( although I cannot see anything wrong in our implementation ) ?
The platform's Scroll method should invalidate any areas have "moved out from under" covering native widgets.
Rob _______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
