Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TreeView.BackColor ???
Message
De
18/01/2000 14:23:14
 
 
À
17/01/2000 08:20:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00318866
Message ID:
00319561
Vues:
8
Dear Neil and Miguel,

please donot forget, that backcolor changing capability requires ComCtrl32.dll ver. 4.71, at least.

This version of comctrl32.dll is distributed only with IE4.0 and upper.
This may be a problem on older win95 systems.

bb


>Miguel,
>
>You can change the Background colour of a standard Treeview using the following API routines.
>
>
>LOCAL lnColorRef
>
>declare integer SendMessage in win32api integer, integer, integer, integer
>
>#define TV_FIRST 0x1100
>#define TVM_SETBKCOLOR (TV_FIRST + 29)
>
>lnColorRef = SendMessage(HWndTreeviewControl, TVM_SETBKCOLOR, 0, 0)
>
>
>Now this code depends on two things, the treeview in the ActiveX is based on the Common controls treeview class and the ability to get a valid HWND for the Treeview control.
>
>I have not looked into either dependancies but I am sure their are people on UT (Ed, George, Erik to name but a few :-)) who can help you on this.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform