>My gues would be, that you've to chose between changing treeview background and using TreeLines. Otherwise would they removed TreeLines in that mskb article in the first place?
My understanding of the Article led me to believe that they just toggled the Treelines off then on (there are 2 calls one after the other, one with the TreeLines subtracted then next as the style originally was).
I suspect that my problem may lie in the incorrect translation of the constants do you know what they should be or where I can look then up?
Private Const GWL_STYLE = -16&
Private Const TVM_SETBKCOLOR = 4381&
Private Const TVS_HASLINES = 2&
#define GWL_STYLE = ?
#define TVM_SETBKCOLOR = 0x1100 + 29
#define TVS_HASLINES = ?
Thank for your help
Caroline