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
Divers
Thread ID:
00944495
Message ID:
00947196
Vues:
25
Herman

>
> Yes, minimum Width & Height is an important point.
>

It's done. I'll upload it later

> Looking from your class, you mentioned about this:
>
> *-- hPatBrush   = this.CreateBrush()
> *-- hmmm.... not working. let's keep it the way
> *-- it was: the brush gets created and deleted()
> *-- everytime this method is called
>
>
> Let's make it work. CreateBrush() method doesn't have to returned
> the value because you already put the handle into hBrush property.
> So, call the CreateBrush() method from Init / MouseDown.
>

CreateBrush() checks if the handle exists and only if not creates
the brush, otherwise it simply returns the handle.

....

Oh! I am such an idiot! The last line in CreateBrush says
return = this.hBrush
and I am wonderein why it's not working
Regards from Berlin

Frank

Dietrich Datentechnik (Berlin)
Softwarekombinat Teltow (Teltow)

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

Click here to load this message in the networking platform