Prev: Netiquette (was: Re: Getting a hConsoleOutput handle wasn't the real problem)
Next: Usenet is not an ASCII network.
From: Piranha on 6 Apr 2010 18:24 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 6 Apr 2010 19:40 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 7 Apr 2010 12:11
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. |