Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
>>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?
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement