Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date/Time Picker Colors
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00416608
Message ID:
00418246
Vues:
33
>Apparently, you haven't made one. There is one significant difference between the TreeView and the Date/Time picker. Namely, the drop down window with the calendar. The window associated with the control is that of the calendar itself, not the text box. I attempted to use GetParent() to retrieve the window handle of the text box, and did so successfully (at least according to Spy++). Unfortunately, using that window handle didn't produce the desired effect. IOW, noting changed! The background color may be part of the class structure. If so, then SetWindowLong() might be able to change it. I haven't gotten to the point where I'm familar enough with all the values to say for certain. Bottom line is that I'm not sure that I can help any farther without significatly more research. Sorry.

Gotcha and thanks George. Well, I'd say it's not worth persuing ( unless someone decides they just have to be able to control the colors ). But I think it's reasonably poor to create a control in which you can't easily change the textbox colors. :-)
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform