The thing I am looking for to do is as follow:
I have a treeview object whcih has different nodes.
When my user select each of this nodes, a particular long operation can be
done on each of them asynchronously. For that reason I would like that when
operation is goiing on on that selected node (ex: getting data from
database), the default node bitmap is replaced by a progress bar to have
independant process status of each node..
In a similar way when you are using an FTP programme and upload a certain
amount of files, then you have progress of each file.. This is what I try to
reached with tree nodes.
thnaks for help if any idea?
regards
serge
"John Bailo" wrote:
Ciaran O''Donnell wrote:
You cant add controls directly to a node. You can owner draw the node however
and either draw your own progress bar on it, or have a hidden progress bar
and try to convince it to draw itself onto an image. There should be at least
a win32 call to create a device context for the image and tell the control to
draw on it. I know there are samples like that about for taking screen dumps
so you could probably modify those.
He might want to consider just having a form that responds to the
selection of the node...that is what my smart client does...as the user
selects a node in the tree, it calls a web service and updates fields on
the main form. He should be able to do this, or launch a small
subform with a mouseover or click.
HTH
Ciaran O'Donnell
"serge calderara" wrote:
>Dear all,
I was wondering is there is a way to customise the treView control in order
to get any Control as a Node. What I try to do is having a Progress bar as a
treeview node object.
Is that possible ?
regards
serge
--
The Texeme Construct
http://you-read-it-here-first.com