473,387 Members | 3,801 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,387 software developers and data experts.

The ListView

hi all,

I'm really jarred off with the ListView that comes with the .NET v1.1.

Why didn't they bother to provide a nicely wrapped implentation of the Win32
ListView control? with support for retieving column orders, setting images
for sub items, access to the column headers, etc, the list goes on.

I've implemented numerous different classes derived from the .NET ListView,
mainly doing sutff like providing methods which return column order etc by
calling SendMessage to the control, handling WndProcs, etc, but each time I
do this it really winds me up as I can't believe there's not a ListView
control that does everything the Win32 ListView can do, nicely wrapped into
a .NET Class.

Does anyone know whether they've sorted this out in .NET v2.0? or know of a
comprehensive class that provide access to all the ListView's features?
or is it time to write one?

TIA
Sam
Nov 16 '05 #1
1 1478
this is exactly the problem I ran into. Which is why I wrote one from
scratch. The non source version is free. Not entirely bug free at
the moment since I'm writing a 2.x series of the same control, but
certainly easier to customize than the stock .net listview.

http://www.glacialcomponents.com/Pro...acialList.aspx

On Wed, 9 Feb 2005 18:23:29 -0000, "Sam Martin"
<sa*********@yahoo.co.uk> wrote:
hi all,

I'm really jarred off with the ListView that comes with the .NET v1.1.

Why didn't they bother to provide a nicely wrapped implentation of the Win32
ListView control? with support for retieving column orders, setting images
for sub items, access to the column headers, etc, the list goes on.

I've implemented numerous different classes derived from the .NET ListView,
mainly doing sutff like providing methods which return column order etc by
calling SendMessage to the control, handling WndProcs, etc, but each time I
do this it really winds me up as I can't believe there's not a ListView
control that does everything the Win32 ListView can do, nicely wrapped into
a .NET Class.

Does anyone know whether they've sorted this out in .NET v2.0? or know of a
comprehensive class that provide access to all the ListView's features?
or is it time to write one?

TIA
Sam


Nov 16 '05 #2

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

Similar topics

6
by: Anushya | last post by:
Hi I am using Listview and inherited listview control overriding WndProc & PreProcessMessage in ListView. I need this to customize listview to display only the page the user scrolls to. Since i...
0
by: Anushya | last post by:
Hi I am using Listview and inherited listview control overriding WndProc & PreProcessMessage in ListView. I need this to customize listview to display only the page the user scrolls to. Since i...
0
by: keith | last post by:
In a ListView control (two columns), I added a few ListView items. ListView listview=new ListView(); listview.Parent=this; listview.View=View.Details; listview.Columns.Add...
7
by: Dave Y | last post by:
I am a newbie to C# and am having trouble trying to override a ListView property method. I have created a new class derived from the Forms.Listview and I cannot figure out the syntax to override...
7
by: BobAchgill | last post by:
I am trying to decide which of these controls to use to implement letting my user select a full row from MyList. The MyList has several columns which would be nice to sort by at run time. The...
5
by: John Devlon | last post by:
Hi, Does anyone know how to get a value of a second column of a selected item in Listview. I've create a listview and added this code Listview.Items.Clear() Listview.Columns.Clear()...
0
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the...
2
by: Peter | last post by:
Hi, I have a problem with Listview using checkboxes. If i check items by code BEFORE the form is shown the Listview.Items are confused during the ItemChecked Event !!! After showing the...
4
by: Brian Gaze | last post by:
I have created a ListView control and have bound this to a datasource. Within the ItemTemplate of the ListView I have added another ListViewControl which is databound in the code behind. The idea...
1
by: =?Utf-8?B?UmF5IE1pdGNoZWxs?= | last post by:
Hello, In my application I need to periodically remove all current items from a ListView and add a new set into it. The following abbreviated code contains the basic idea: private void...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.