Best approach for Custom ListView

A

--== Alain ==--

Hi,

I'm currently working under VC++.NET 2005 and i'm deriving my custom
control from ListView.

I need your feedback to know in which direction should i develop this
control.

I've seen on internet a lot of similar controls, however i would like to
understand a little bit more how to built such component...

I know how to customize the header of ListView, but i would like to do
more, by having several types of columns.

for example, i would like to have columns of type : text, int (with
spin), progressbar, checkbox, and so on...

for that i was thinking to create a new class of ColumnHeader.

But i've seem also that it is possible to create different types of
Items and SubItems class.

So, where is the best class to derive Items or ColumnHeader ?

Moreover, in some examples i've seen that an Interface has been
developed for general properties, methods or events... and in some other
just the class has been fully developed.

So, what is the best approach for flexibility in case of new Column or
Items types ?

thanks a lot,

Al.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top