Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sub form's shadow effect using shape object
Message
From
19/06/2006 21:50:24
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
19/06/2006 17:09:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01129983
Message ID:
01130129
Views:
23
>>I see that you're using VFP9 SP1 under Windows XP (Pro?). Check this out. Open a form method and do a find (Ctrl+F). If your setup is the same as mine, the find dialog has a cool shadow under it. Now drag this dialog around. As expected, the shadow follows it around. Now stop dragging it. Guess what? No more shadow. Go figure.
>>
>>Not that it helps you any, but it would be cool if we could use this capability in our VFP apps (and not lose the shadow at the end of a drag operation).
>>
>
>Hi Mike,
>
>The shadow is the capability from OS. Basically yes, you can add it to the form. However, according to explanation in MSDN, it is intended to be use for a small form/window and top-level form. But I haven't tried too far with it. I only tried it for shadowing DropDown combobox in VFP6 & VFP7
>
>You might want to try it yourself. Look for SetClassLong() API in MSDN and use CS_DROPSHADOW for the window class style.
>
>Hope this helps a little

Thanks Herman. The whole Windows API stuff is a bit beyond me. Just curious...does the shadow disappear for you when you stop dragging the form?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform