You can be sure it exists on Win32 platforms since IE6 is a required
upgrade for the framework.

Thanks,

Shawn Wildermuth
[EMAIL PROTECTED]

> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> On Behalf Of Henrik Enemark Rasmussen
> Sent: Sunday, May 19, 2002 5:06 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Where's Color.SetBrightness(...) ?
>
>
> Does someone know of an efficient way to adjust the luminance
> (brightness) of color without changing the hue, saturation or
> alpha values. The System.Drawing.Color class has a
> GetBrightness() method but there is no SetBrightness().
>
> Right now I am using P/Invoke to call ColorAdjustLuma() in
> Shlwapi.dll, but unfortunately this function is only
> available from version 5.0 which is distributed with IE 5, so
> I cannot be sure it is always available.
>
> Thank you
> Henrik
>
> You can read messages from the DOTNET archive, unsubscribe
> from DOTNET, or subscribe to other DevelopMentor lists at
> http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to