Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView BackGround Colour
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00642611
Message ID:
00642757
Vues:
26
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
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform