Re: Modify R G and B of TColor
- From: "Global" <a@xxxxx>
- Date: Tue, 26 Dec 2006 08:19:23 -0500
You can use the GetRValue, GetGValue, and GetBValue API functions to
extract each component of a color. Do whatever operations you want on
those values, and then use the RGB function to compose them into a single
color value again.
How to make RGB into TColor again? RGB(r, g, b) is that actually make a
TColor value?
.
- Follow-Ups:
- Re: Modify R G and B of TColor
- From: Rudy Velthuis
- Re: Modify R G and B of TColor
- References:
- Modify R G and B of TColor
- From: Global
- Re: Modify R G and B of TColor
- From: Rob Kennedy
- Modify R G and B of TColor
- Prev by Date: Re: getting an event handler from a active-x dll dispinterface
- Next by Date: Re: Modify R G and B of TColor
- Previous by thread: Re: Modify R G and B of TColor
- Next by thread: Re: Modify R G and B of TColor
- Index(es):