473,383 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

ListView Scrollbars question

Hi Everyone

I'm using the standard ListView control of VS 2003.
I would like to know if there is a way to catch the event of the scrollbars
attached to a ListView being 'scrolled' or 'clicked'? I would like populate a
ListView with 20 items at first, and then add items as the user scrolls.
If anyone has done this before, some code example would greatly be
appreciated.

Thanks a lot

Tomas
Mar 7 '06 #1
1 1559
Tomas,

It sounds like you want to have a virtual mode list view. Here is a
link to a blog entry with some more links on how to do it in .NET 1.1 (I
believe):

http://addressof.com/blog/archive/2003/11/13/274.aspx

Here are some other links which discuss virtual list views which can be
of use to you:

http://groups.google.com/group/micro...027affc4e655e9

http://www.windowsforms.com/ControlG...214&tabindex=9

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"TomasFloyd" <To********@discussions.microsoft.com> wrote in message
news:EB**********************************@microsof t.com...
Hi Everyone

I'm using the standard ListView control of VS 2003.
I would like to know if there is a way to catch the event of the
scrollbars
attached to a ListView being 'scrolled' or 'clicked'? I would like
populate a
ListView with 20 items at first, and then add items as the user scrolls.
If anyone has done this before, some code example would greatly be
appreciated.

Thanks a lot

Tomas

Mar 7 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: tmaster | last post by:
I have a form, frmMain, that contains a listview. When the user selects item(s), I do the following: Private Sub lvwToDo_ItemActivate(ByVal sender As System.Object, ByVal e As System.EventArgs)...
2
by: Mark | last post by:
I have basically a 2 part question: 1) is there a way to have a listview that can scroll, but hide the scrollbars. I know that sounds odd, but this is a touch screen app and there are "scroll...
5
by: Bernie Yaeger | last post by:
I'm using a listview in view 'list' mode, multiselect and dragdrop true. When the listview appears, it has a horizontal scrollbar (if needed) but not vertical scrollbar. How can I get it to...
2
by: | last post by:
Hi All, How can I get to scroll bars of a listview, I am trying to sync two listviews so I need to overload one of the listview, How can I achieve this ? Thank You.
2
by: ohadasor | last post by:
Hi All, I have a ListView control, and I need it to have only vertical scrollbar, not horizontal. How can I do that? The only way I found to control its scrollbars is using ListView.Scrollable,...
11
by: rb | last post by:
Hi All, Is there a property or method to keep the headercolumns from being resized by the user for a listview? I am using Visual Basic in Visual Studio . net 2005 Thank you.
2
by: Alan T | last post by:
I want to catch the event when I click the listview. However, if the listview is empty, I cannot catch the click event.
1
by: =?Utf-8?B?YW5kaSByaWNrZW5iYWNo?= | last post by:
Hello, i have two listviews next to each other on a form. I would like to synchronize both vertical scrollbars of the two listviews with one scrollbar (for example VScrollBar). How can I do...
1
by: =?Utf-8?B?YW5kaSByaWNrZW5iYWNo?= | last post by:
Hello, i have two listviews next to each other on a form. I would like to synchronize both vertical scrollbars of the two listviews with one scrollbar (for example VScrollBar). How can I do...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.