Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Screen Size
Message
From
17/10/2002 17:34:51
 
 
To
16/10/2002 23:57:22
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00712178
Message ID:
00712622
Views:
12
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform