Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar resizing
Message
De
19/07/2002 10:52:53
 
 
À
18/07/2002 07:29:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00679917
Message ID:
00680460
Vues:
23
>Is it possible to make toolbar resize itself like forms?
>
>VFP's toolbars resize themselves only by repositioning controls contained in them. But I want to put only single control inside toolbar and still be
>able to resize it. I know that there are some ActiveX toolbars which behave
>differently but VFP doesn't recognize them very well (e.g other forms cover
>it if moved/maximized).
>
>
>Thanks!
>Yrgo Ringo

Use a always-on-top non-movable form with hidden titlebar area instead of a toolbar to be able to resize it. Use the form resize event to handle resizing of the controls in the "toolbar" form. You should capture the _Screen Resize event (using procedural hook) to resize the "toolbar" form.

HTH
Zlatin Zlatev,
MCSD (VS6)

Make solutions, not programs!

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform