Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transparent Forms
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01120645
Message ID:
01125850
Views:
20
>> But is it possible to create a transparent form which is NOT ShowWindow = 2 ie Is it possible to make a normal form transparent (ShowWindow = 0 or 1)?
>
>The SetLayeredWindowAttributes requires the WS_EX_LAYERED extended style set for the window. This style cannot be assigned to a child window (WS_CHILD).
>
>ShowWindow=0 -- the form is a child window of the main screen
>ShowWindow=1 -- the form is a child form of the active top-level form
>
>* retrieves a handle to the specified window's parent or owner
>DECLARE INTEGER GetParent IN user32 INTEGER hwnd
>
>? _vfp.HWnd
>? GetParent(_screen.HWnd)
>? GetParent(_vfp.HWnd)
>
>Some other ways, not SetLayeredWindowAttributes, must be sought to control the transparency of child windows.

Hi Anatoliy. Are such "other ways" available on your subscription website? If so can you point me to them as making transparent child windows might be fun!
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform