From: Piranha on
Calling ChooseFont() with .Flags = CF_EFFECTS will allow the user to
choose a color for the font, but the choice is limited to 16 colors.
Is there a way to extend the choice to more colors?
From: Arny on
On 07.04.2010 00:24, Piranha wrote:
> Calling ChooseFont() with .Flags = CF_EFFECTS will allow the user to
> choose a color for the font, but the choice is limited to 16 colors.
> Is there a way to extend the choice to more colors?

There's always a way (subclassing, custom dialog etc), but it's common
to use ChooseColor() dialog for such a purpose.

- RaZ
From: Piranha on
On 7 Apr., 01:40, Arny <sk...(a)stud.ntnu.no> wrote:
> On 07.04.2010 00:24, Piranha wrote:
>
> > Calling ChooseFont() with .Flags = CF_EFFECTS will allow the user to
> > choose a color for the font, but the choice is limited to 16 colors.
> > Is there a way to extend the choice to more colors?
>
> There's always a way (subclassing, custom dialog etc), but it's common
> to use ChooseColor() dialog for such a purpose.
>
> - RaZ

Thanks for the answer.

I was hoping for an easy way to do both in one, but if that requires
subclassing and stuff, I guess ChooseColor() will be easier.