By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,067 Members | 920 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,067 IT Pros & Developers. It's quick & easy.

OwnerDraw ONE listView Subitem only?

P: n/a
Is it possible to have 5 Subitems in a listview and only take over the draw
item for the last of them or do I have to draw the whole item?

I just realized I need a little image before the text in the last SubItem,
is that possible without having to mess with the first 4 Subitems?

mvh
/Lars Netzel
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Lars Netzel" <ui****@adf.se> wrote in message
news:OU*************@TK2MSFTNGP09.phx.gbl...
Is it possible to have 5 Subitems in a listview and only take over the
draw item for the last of them or do I have to draw the whole item?


If(!) the ListView works like the TabControl, you have to override
the "drawing" routines. If so, you should be able to call the base
method for the other four subitems, then do your own thing for
number 5.

HTH,
Phill W.
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.