If you change the attributs of item with italic style for example, when you select the item, these attributs are lost, until selchange to another item. How can this be avoided? How can remain the attributes of the selected item the same, as defined in the LOGFONT structure for this item?
Any help appreciated,
ActiveX hosting, events from contained components are fired through to your program using the exact same model used in VB6 for components added at run time, data bounding, multiple columns, and more
I like this alot, but I am having an issue with the tree when you scroll up or down with the scroll bar, the text is losing the color assinged to it.
By clicking on the the text and then moving to another item the color comes back. I have tried to define my own OnVScroll function, but that has no effect.
I used your sample and was successfully created a dual color tree. Thanks!
But for some reason, when I select an item and click the mouse somewhere else from the control. Then, the selected item changed color.
Samething happend when I have 2 different colors in the tree, and I try to select one and then select another one.
Seem as if when the item has focus, it use the color that was last mapped to the color structure. When a new item is selected, the old selected item has a focus rectangle around it and the color of the text in side that focus rectangle is not the color i want, how do i specify the color of the text inside that focus rectangle.
Help, I tried almost a week and cannot figure this out.