Problem:
Can the selected tree view item be displayed in light blue?
Can the tree view items be colorized individually?
Resolution:
To do this you have to derive your own tree view class from the standard tree view and use this class in the class control paragraph of your tree view control program.
You find a sample "owndrawtreeview" as attachment.
------------------------------------
The "owndrawtreeview" defines a method "wmGadgetNotify" which handles a redraw of the tree view items in the desired style.
"owndrawtreeview" sample shows any level (up to 6) of the tree view items in a different color and shows the selected item in light blue and underscored style. The background of the selected item is white or yellow depending on the line, which is commented in.
------------------------------------
To use the "owmdrawtreeview" in your application, he class declaration in the control program has to be changed from
TreeView is class "treeview"
to
TreeView is class "owndrawtreeview"
and owndrawtreeview class has to be added to the application




