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 3 1317
sorry - meant treeview.
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:ev**************@TK2MSFTNGP12.phx.gbl... 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
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
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message
news:ev**************@TK2MSFTNGP12.phx.gbl... 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
Hi Shane,
Tx - it does help.
Bernie
"SStory" <Th*******@TAKEOUTTHISSPAMBUSTERsofthome.net> wrote in message
news:%2*****************@TK2MSFTNGP12.phx.gbl... 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
"Bernie Yaeger" <be*****@cherwellinc.com> wrote in message news:ev**************@TK2MSFTNGP12.phx.gbl... 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jeffrey Silverman |
last post by:
Hi, all. I have a linked list. I need an algorithm to create a tree
structure from that list.
Basically, I want to turn this:
$list = array(
array( 'id' => 'A', 'parent_id' => null, 'value'...
|
by: ragha |
last post by:
Dear friends
I am emulating thr tree structure mentioned in the article
http://www.15seconds.com/issue/010921.htm
I have succesfully created the folder structure for level 2 I need
this...
|
by: prabhat143 |
last post by:
Hi,
Given a singly linked, null terminated list, how can it be converted to
tree? Each node in the list has three attributes: it's ID, it's parent
ID and of course, the next node it's pointing...
|
by: Kiran |
last post by:
Hello all,
I am using a tree to display stuff, and it is constantly updated, but
what I have noticed is in the lowest level, there is clearly noticable
cutoff of the text I place there. The cutoff...
|
by: Amit Bhatia |
last post by:
User-Agent: OSXnews 2.081
Xref: number1.nntp.dca.giganews.com comp.lang.c++:817435
Hi,
I searched online to see if this is valid or not (since my classes are
still very incomplete, I am...
|
by: raylopez99 |
last post by:
What's the best way of implementing a multi-node tree in C++? What I'm
trying to do is traverse a tree of possible chess moves given an intial
position (at the root of the tree). Since every...
|
by: snitu |
last post by:
hello
i am new user of this forum. i have a problem in javascript code. plz. give me idea about how to create tree using xml file (not using xsl file) in javascript.
i am also sending my...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
| |