Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Gestionnaire de menu & Menus
Versions des environnements
>Hi Mike,
>
>>Just last week here on the UT I saw a nice thread showing how to create a gradient fill in a container using GDI+. It worked so well that I removed all the stuff (using fixed color bitmap images) from my base class and used this technique. It can render a gradient at runtime!! Just set the first and last color values and call a method. Very cool.
>>
>>The only issue you may have is determining the two color values from Alex's controls.
>
>I think I was involved with that thread? But my brain is a seive these days ...
>
>Do you have a thread or message number or thread title I can search on?
>
>Thanks,
>Malcolm
I think we're both suffering from "brain seive" <bg>. You were involved with that thread. Bo Durban posted the code that I was referring to. Go back 3 days ago and look under the "Pictures and Image processing" for "Gradient colors" that was started by Ali Hoseiny on 2005/06/28.
You've probably investigated this stuff already though.
Regards,
Mike
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