471,066 Members | 1,186 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Best approach for Custom ListView


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

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,

Oct 29 '06 #1
2 1113
Try writing your own.
Oct 29 '06 #2
this is not really helpfull... thx anyway

Stuart Nathan wrote:
Try writing your own.

Oct 29 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jeff | last post: by
5 posts views Thread by ToddH | last post: by
reply views Thread by Piotr Strycharz | last post: by
7 posts views Thread by =?Utf-8?B?YnJhaW5mdWVsbWVkaWE=?= | last post: by
5 posts views Thread by Mark Olbert | last post: by
1 post views Thread by =?Utf-8?B?Q2hhcmxlcw==?= | last post: by
reply views Thread by leo001 | last post: by

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.