General information
Category:
Windows API functions
Title:
Semi-transparent form - how?
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only