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:
00642760
Views:
30
>>>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 -16
>>#define TVM_SETBKCOLOR 4381
>>#define TVS_HASLINES 2
>>
>>
>>Thank for your help
>
>PMFJI, but VB constants are simply numerics. See above.
>
>The only time you need the hex notation is if you see something like the following in VB:
>
>Private Const MyConstant = &HFF
>
>The &H signifies the number is in hex format. You also don't use the = in VFP constant definitions.
>
>HTH.

Thanks for confirming that Larry
Caroline
Previous
Reply
Map
View

Click here to load this message in the networking platform