Re: More Colours for CFontDialog



I can't read the description, but the pictures on this one show a more colors dialog on the drop down and the source is available in a .zip for download. It may be worth giving a look...

http://jof4002.net/?CFontDialogEx

Tom

"Simon" <sorde@xxxxxxxxxxxxx> wrote in message news:drKdnXJ734FjlfXanZ2dnUVZ8sijnZ2d@xxxxxxxxxxxx
I use a class derived from CFontDialog to allow users to choose fonts in my application. As well as selecting basic font details, they can also pick its colour. Unfortunately, CFontDialog only offers them a choice of 16 colours. I would like them to be able to pick any colour. There are obviously various possible solutions to this, but the easiest for me would be to stick with CFontDialog and modify it (I'm already modifying it a bit). Has anyone already done this, or can point me at some code that does this? I'd rather not re-invent the wheel if possible - especially, as I'm not sure how to get the sample to update in CFontDialog, if I provide my own colour picker within the dialog and the user picks a colour from it. Is it even possible to get the sample to update appropriately?

I'm using VC++ 6.

Any help much appreciated.

Simon




.



Relevant Pages

  • Re: More Colours for CFontDialog
    ... Now I just need to brush up on my Korean :-) ... CFontDialog only offers them a choice of ... be to stick with CFontDialog and modify it (I'm already modifying it a ...
    (microsoft.public.vc.mfc)
  • More Colours for CFontDialog
    ... I use a class derived from CFontDialog to allow users to choose fonts in my ... As well as selecting basic font details, ... be to stick with CFontDialog and modify it. ...
    (microsoft.public.vc.mfc)

Loading