Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Improved control of Color Picker
Message
 
À
16/10/2005 11:06:49
Tim Muller
Innovative Solutions, Inc.
West New York, New Jersey, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
01059486
Message ID:
01059496
Vues:
12
>George--
>
>>>I need to open the Color Picker with the Define Custom Color panel open. Once the Color Picker is open, Alt+D from the keyboard does the trick. I can't see any way to make this happen with GetColor () and KEYBOARD or Window Scripting Host.
>>>
>>>Is there some way to get this control using the Win 32 API?
>>>
>>>
>>
>>You could use the Common Dialog ActiveX control, but you may not be able to get the results you want. I'd suggest that you try setting the Flags property to CC_FULLOPEN (0x00000002) prior to calling the ShowColor() method. This is just a SWAG, BTW.
>
>I looked at the description of the Common Dialog Foundation Class in the VPP documentation. Am I looking in the right place?
>
>I did not see anything about color. The Common Dialog seems to be about selecting files, fonts, printers, etc.
>
>
Tim,

Personally, I think that's an omission in the documentation. The control does have a ShowColor method. Perhaps the FFC isn't the best place to look.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform