tree list images

B

Bernie Yaeger

I'm trying to add different images to the nodes and subnodes of a tree list.
I would like the primary nodes to display one image and the secondary nodes
several different images, and then, of course, be able to 'open' or 'close'
those with second images for each representing 'open' or 'closed'. When I
try to do this, I can't seem to get beyon 'one image for all node levels'.

Thanks for any help.

Bernie Yaeger
 
S

SStory

add images to an imagelist control.

add that to the appropriate imagelist property in the treeview properties.

When adding nodes, tell it which imagelist index to use.

0....N

HTH,

Shane
 
B

Bernie Yaeger

Hi Shane,

Tx - it does help.

Bernie

SStory said:
add images to an imagelist control.

add that to the appropriate imagelist property in the treeview properties.

When adding nodes, tell it which imagelist index to use.

0....N

HTH,

Shane
 

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