Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form - resize rubber band
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Form - resize rubber band
Divers
Thread ID:
00944495
Message ID:
00944495
Vues:
68
Some of my clients obviously have problems hitting the right lower corner of a form's border in order to resize it.

So I have written a small class that sits in the lower right corner and shows the small dots, to extend the "resize-sensitive-area" just like in Internet-Explorer or the VFP-editor. Works perfectly well but the behaviour is not the same.

Hitting the border with the mouse displays the resize-rubber-band, and only this is used until mouseUp. After that the actual resize of the form is done.

with my class however I'm not (yet) able to set the form in this "hey, I'm being reszied"-mode. However I have two options. Either resizing the atual form with every movement of the mouse (works but produces ugly intermediate bordershadows) or resizing upon MouseUp (not too intuitive as the intermediate states are not visualized).

Anyone an idea how to either "activate" and use the form's rubber or to mimic the behaviour (I think what actually needs to be done is place an invisible form on top and paint the rubber)?

Thanks for any help - If this becomes a nice working solution I'll post it in the download-area

Frank
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

Frank.Dietrich@dd-tech.de
DFPUG # 327
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform