The best "cross-platform" way to do that is to start a timer that fires
a function which check if you should scroll or not. The reason for the
timer is that on Netscape 4.x you get move event only when you move the
mouse whereas IE fires it all the time, even if you don't move, so the
condition to test is wether you are close to the window's border. Don't
forget to move your layer of the same amount you scroll the window.

hope this help

Benoit Marchant

Kurt Indermaur wrote:

> Using DynAPI, I've developed a drag&drop interface to
> allow users to move items around a hierarchical tree
> (think Windows Explorer folders & files). Because my
> list is long, it goes beyond a single browser screen,
> which is the source of my problem:
>
> When I drag items to the bottom edge of the window, I
> would like the browser to start scrolling - so I can
> then drop it on an item that wasn't visible at first.
> Is this possible with DynAPI? If so, how?
>
> Thank you,
>
> --Kurt
>
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to