Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Improved control of Color Picker
Message
 
À
16/10/2005 09:05:21
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:
01059490
Vues:
12
>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?
>
>
>Thanks.
>
Tim,

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.
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