From: Doug M. <do...@cr...> - 2004-10-28 18:01:42
|
gotta love the Lookout Express.. The way this issue was handles int my scrollbar as to dicard onScroll (or onMouseMove?) events that are fired while still porcessing the last event. Some Psudo code: myevent(){ if(this.EventInProcess) return 0; this.EventInProcess=true; //do the stuff, move the scroll bar, scroll the content pane, ect.. this.EventInProcess=false; } also handy for any other heavy-duty dragging code. Do not be concerned for the discarded events, the drag events are fire more than often enough, plus the browser AND OS tend to queu some of the events as well. cheers ----- Original Message ----- From: "Leif W" <war...@us...> To: <dyn...@li...> Sent: Thursday, October 28, 2004 12:34 PM Subject: Re: [Dynapi-Help] Implemented step-scrolling in viewpane, please check in.. > > > ------------------------------------------------------- > This Newsletter Sponsored by: Macrovision > For reliable Linux application installations, use the industry's leading > setup authoring tool, InstallShield X. Learn more and evaluate > today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ > _______________________________________________ > Dynapi-Help mailing list > Dyn...@li... > https://lists.sourceforge.net/lists/listinfo/dynapi-help > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.784 / Virus Database: 530 - Release Date: 10/27/04 |