Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Category:
Forms & Form designer
>>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
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