Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make the command button obvious when got focus
Message
De
18/07/2005 13:10:21
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01032562
Message ID:
01033588
Vues:
23
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Frank
>
>>I use GetSysColor() (a windows API), but remind me on Monday, have to run out now, and I'll find the code.
>
>I was to remind you Monday regarding GetSysColor() code. Thanks for the offer to look it up for me.
#DEFINE COLOR_SCROLLBAR                      0
#DEFINE COLOR_BACKGROUND                     1
#DEFINE COLOR_ACTIVECAPTION                  2
#DEFINE COLOR_INACTIVECAPTION                3
#DEFINE COLOR_MENU                           4
#DEFINE COLOR_WINDOW                         5
#DEFINE COLOR_WINDOWFRAME                    6
#DEFINE COLOR_MENUTEXT                       7
#DEFINE COLOR_WINDOWTEXT                     8
#DEFINE COLOR_CAPTIONTEXT                    9
#DEFINE COLOR_ACTIVEBORDER                   10
#DEFINE COLOR_INACTIVEBORDER                 11
#DEFINE COLOR_APPWORKSPACE                   12
#DEFINE COLOR_HIGHLIGHT                      13
#DEFINE COLOR_HIGHLIGHTTEXT                  14
#DEFINE COLOR_BTNFACE                        15
#DEFINE COLOR_BTNSHADOW                      16
#DEFINE COLOR_GRAYTEXT                       17
#DEFINE COLOR_BTNTEXT                        18
#DEFINE COLOR_INACTIVECAPTIONTEXT            19
#DEFINE COLOR_BTNHIGHLIGHT                   20
#DEFINE COLOR_3DDKSHADOW                     21
#DEFINE COLOR_3DLIGHT                        22
#DEFINE COLOR_INFOTEXT                       23
#DEFINE COLOR_INFOBK                         24
#DEFINE COLOR_DESKTOP                        COLOR_BACKGROUND
#DEFINE COLOR_3DFACE                         COLOR_BTNFACE
#DEFINE COLOR_3DSHADOW                       COLOR_BTNSHADOW
#DEFINE COLOR_3DHIGHLIGHT                    COLOR_BTNHIGHLIGHT
#DEFINE COLOR_3DHILIGHT                      COLOR_BTNHIGHLIGHT
#DEFINE COLOR_BTNHILIGHT                     COLOR_BTNHIGHLIGHT

DECLARE INTEGER GetSysColor ;
        IN Win32API;
        INTEGER nIndex

m.lnColor = GetSysColor(COLOR_HIGHLIGHT)
Hope that helps.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform