Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Screen Size
Message
De
17/10/2002 17:34:51
 
 
À
16/10/2002 23:57:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00712178
Message ID:
00712622
Vues:
14
>I have designed the first form to be displayed on screen as a small one (ie not maximised), but when I run this in an exe the form displays OK but with a clear white background behind it, rather than the user's Windows background. What is the
>screen setting to achieve this?
>
>Thank you

Hello
DECLARE INTEGER GetSysColor IN Win32api INTEGER
_SCREEN.BACKCOLOR=GetSysColor(1)
However, I won't do that. What if the user has a bitmap in he's desktop? Or he has ActiveDesktop enabled? Instead, I recommed to use the MDI windows background color, wich is dark grey on Win98, default appeareance settings. It can be obtained with
DECLARE INTEGER GetSysColor IN Win32api INTEGER
_SCREEN.BACKCOLOR=GetSysColor(12)
Hope this helps
Grigore Dolghin
Class Software.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform