NoCoolHandle
Programmer
Ok.. I am getting closer to an answer my treeview question.
There doesn't seem to be any easy way to leave it in the same state as when you "click" an item in the treeview. So. it seems that the answer is to change the back color of it, as well as the one that had previously been selected.
So.. for the sake of consistancy, I thought it would be nice to set the color to the system color that = a selected item. Like the color you get when you "select text in a textbox"..
However I am having the devils time finding the correct "system color".
To date the closest would be to set the backcolor to
Color.FromKnownColor(KnownColor.Highlight)
but it isn't quite right. Any ideas?
TIA
Rob
PS Happy Holidays all! (what ever your holiday is)
There doesn't seem to be any easy way to leave it in the same state as when you "click" an item in the treeview. So. it seems that the answer is to change the back color of it, as well as the one that had previously been selected.
So.. for the sake of consistancy, I thought it would be nice to set the color to the system color that = a selected item. Like the color you get when you "select text in a textbox"..
However I am having the devils time finding the correct "system color".
To date the closest would be to set the backcolor to
Color.FromKnownColor(KnownColor.Highlight)
but it isn't quite right. Any ideas?
TIA
Rob
PS Happy Holidays all! (what ever your holiday is)