Article View: borland.public.cppbuilder.internet.web
Article #531Re: Finding out if browser has been scrolled
From: Remy Lebeau (TeamB)
Date: Fri, 17 Nov 2006 03:37
Date: Fri, 17 Nov 2006 03:37
20 lines
1539 bytes
1539 bytes
"Brian" <no@spam.please.com> wrote in message
news:455cec6e$1@newsgroups.borland.com...
> Navigating to a page like www.freebsd.org and scrolling it before
> all images have been loaded will cause get_scrollTop to return 0 when
> the downloading has completed.
Where exactly are you calling the code from? Are you waiting for the
OnDocumentComplete event to trigger before doing anything?
> if( !SUCCEEDED(lpBody->get_scrollTop( ¤t_y)) )
> {
> // never seem to happen
> }
You are testing for "not succeeded". Is that what you really wanted?
Gambit
Technical Details
Message-ID:
<455d2f25@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<455cec6e$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,cd8364cfaf34deb1 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.internet.web References: <455cec6e$1@newsgroups.borland.com> Subject: Re: Finding out if browser has been scrolled Date: Thu, 16 Nov 2006 19:37:10 -0800 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <455d2f25@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1163734821 69.169.4.232 (16 Nov 2006 19:40:21 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!newshub.sdsu.edu!newscon04.news.prodigy.net!prodigy.net!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail