Message from discussion
ListBox - How to detect a vertical scroll movement?
Reply-To: "Neville Lang" <neville@MAPS_ONnjlsoftware.com>
From: "Neville Lang" <neville@MAPS_ONnjlsoftware.com>
References: <eeqlEBW1EHA.2192@TK2MSFTNGP14.phx.gbl> <#8NGOoW1EHA.3840@tk2msftngp13.phx.gbl> <uuV#dFb1EHA.3000@TK2MSFTNGP15.phx.gbl> <un5EJjf1EHA.1188@tk2msftngp13.phx.gbl> <u4MGwGl1EHA.2612@TK2MSFTNGP14.phx.gbl>
Subject: Re: ListBox - How to detect a vertical scroll movement?
Date: Tue, 30 Nov 2004 12:00:15 +1100
Lines: 105
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
Message-ID: <OEVt9fn1EHA.2192@TK2MSFTNGP14.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.compactframework
NNTP-Posting-Host: cpe-144-136-17-139.vic.bigpond.net.au 144.136.17.139
Path: g2news1.google.com!news3.google.com!news.glorb.com!cyclone1.gnilink.net!gnilink.net!wns13feed!worldnet.att.net!204.71.34.3!newsfeed.cwix.com!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP14.phx.gbl
Alex,
Thank you for your response and file. It has given me some further ideas.
Regards,
Neville Lang
"Alex Feinman [MVP]" <public_n...@alexfeinman.com> wrote in message
news:u4MGwGl1EHA.2612@TK2MSFTNGP14.phx.gbl...
> In the sample here
> http://www.alexfeinman.com/download.asp?doc=LBScrollAlways.zip I do
exactly
> that - overlay a scrollbar on top of the listbox control. You might find
it
> useful.
>
> --
> Alex Feinman
> ---
> Visit http://www.opennetcf.org
> "Neville Lang" <neville@MAPS_ONnjlsoftware.com> wrote in message
> news:un5EJjf1EHA.1188@tk2msftngp13.phx.gbl...
> > Daniel,
> >
> > Just letting you know that your idea of simply overlaying a new vertical
> > scroll bar over the one that is created automatically on a ListBox does
> > give
> > me the indication of when the user taps the scroll bar. Thanks for the
> > clue
> > on how to get around this problem.
> >
> > Regards,
> > Neville Lang
> >
> >
> >
> > "Neville Lang" <neville@MAPS_ONnjlsoftware.com> wrote in message
> > news:uuV%23dFb1EHA.3000@TK2MSFTNGP15.phx.gbl...
> >> Daniel,
> >>
> >> Thanks for the clue. I will try it out.
> >>
> >> Regards,
> >> Neville Lang
> >>
> >>
> >> "Daniel Moth" <dmot...@hotmail.com> wrote in message
> >> news:%238NGOoW1EHA.3840@tk2msftngp13.phx.gbl...
> >> > I worked around this limitation with an ugly approach a while back
> >> (listview
> >> > but same principle):
> >> >
> >>
> >
http://groups.google.com/groups?hl=en&lr=&c2coff=1&q=listview+scrollbar+author%3AMoth&btnG=Search&meta=group%3Dmicrosoft.public.dotnet.framework.compactframework
> >> >
> >> > Or write/use a custom list control.
> >> >
> >> > Cheers
> >> > Daniel
> >> > --
> >> > http://www.danielmoth.com/Blog/
> >> >
> >> >
> >> > "Neville Lang" <neville@MAPS_ONnjlsoftware.com> wrote in message
> >> > news:eeqlEBW1EHA.2192@TK2MSFTNGP14.phx.gbl...
> >> > > Hi all,
> >> > >
> >> > > In CF, if a ListBox has more items in its datasource than it can
> >> display,
> >> > > it
> >> > > automatically shows a vertical scroll bar. I have a need to detect
> > when
> >> > > the
> >> > > scroll bar has been clicked by the user, either stepped by one
using
> > the
> >> > > arrow or stepped by a page-full, causing the list to change. There
> > does
> >> > > not
> >> > > seem to be any standard ListBox events in CF that let me know when
> >> > > the
> >> > > list
> >> > > has changed when using the scroll bar. Is there any way I can
detect
> >> when
> >> > > either the scroll bar has been clicked or the ListBox listing has
> >> changed?
> >> > >
> >> > > Regards,
> >> > > Neville Lang
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
> >
> >
>
>