Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Semi-transparent form - how?
Message
From
10/10/2002 07:31:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Semi-transparent form - how?
Miscellaneous
Thread ID:
00709749
Message ID:
00709749
Views:
71
I'm trying to make my form semi-transparent using WinAPI SetLayeredWindowAttributes() (VFP6SP5,Win2000). When the form is "As Top-Level" (ShowWindow=2) this function works, otherwise (In Screen or In Top-Level form) - not. Why? Please, help!

Code here:
R=GetWindowLong(HWND,-20)
R=bitor(R,0x00080000)
SetWindowLong(HWND,-20,R)
SetLayeredWindowAttributes(H,0,TransparencyLevel,2)

Thanks.

P.S. Can I get semi-transparent form under W9x?
Next
Reply
Map
View

Click here to load this message in the networking platform