Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TreeView BackGround Colour
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00642611
Message ID:
00642758
Views:
29
Thanks for all your help.

To get the desired effect I've created an image to use instead of the TreeLines.

>Yes, you're right. It should work with TreeLines but it doesn't. I've no idea why. BTW, the constants in the VFP code are correct.
>
>>>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?
>>
>>* In VB
>>Private Const GWL_STYLE = -16&
>>Private Const TVM_SETBKCOLOR = 4381&
>>Private Const TVS_HASLINES = 2&
>>
>>* In Fox
>>#define GWL_STYLE = ?
>>#define TVM_SETBKCOLOR = 0x1100 + 29
>>#define TVS_HASLINES = ?
>>
>>
>>Thank for your help
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform