Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transparent region
Message
From
12/03/2014 16:49:38
 
 
To
12/03/2014 16:29:17
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01596334
Message ID:
01596379
Views:
49
>Hi Rick
>
>I turned off the animation and removed the read events. I want this as a static mask in front of the .screen or current form. It's awfully close. I added a DOEVENTS after running your code. That made the form appear fully formed rather than as a ghostly apparition. The form also stays centered and in front.
>
>My hope was to show the progress bar through the transparent window. Then most of the progress bar's native ugliness would be hidden and replaced with something much more attractive. It almost works. I'm thinking the issue is to make rectform really topmost in the windows zorder or at least to make vfp one zorder back from it.
>
>Any ideas on that?
>
>Thanks


If you can get the HWND of the progress bar window you want it to be placed in front of, you can use the SetWindowPos() function to manually place it ahead in the ZOrder of a given window. You may also be able to read the exact location of sub-windows within to get the literal rectangle of the progress bar portion, and if so you can position your window exactly, rather than closely, to its correct location (based on variable user border widths, and so on).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform