Connecting Tech Pros Worldwide Forums | Help | Site Map

Best approach for Custom ListView

--== Alain ==--
Guest
 
Posts: n/a
#1: Oct 29 '06
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.

Stuart Nathan
Guest
 
Posts: n/a
#2: Oct 29 '06

re: Best approach for Custom ListView


Try writing your own.


--== Alain ==--
Guest
 
Posts: n/a
#3: Oct 29 '06

re: Best approach for Custom ListView


this is not really helpfull... thx anyway

Stuart Nathan wrote:
Quote:
Try writing your own.
>
>
Closed Thread