Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sub form's shadow effect using shape object
Message
De
19/06/2006 17:09:30
 
 
À
19/06/2006 15:03:55
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01129983
Message ID:
01130086
Vues:
24
>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
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform