Re: More Colours for CFontDialog
- From: "Tom Serface" <tom.nospam@xxxxxxxxxxxxx>
- Date: Tue, 18 Dec 2007 10:53:32 -0800
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
.
- Follow-Ups:
- Re: More Colours for CFontDialog
- From: Simon
- Re: More Colours for CFontDialog
- References:
- More Colours for CFontDialog
- From: Simon
- More Colours for CFontDialog
- Prev by Date: Re: AfxGetApp() returns NULL
- Next by Date: Re: AfxGetApp() returns NULL
- Previous by thread: More Colours for CFontDialog
- Next by thread: Re: More Colours for CFontDialog
- Index(es):
Relevant Pages
|
Loading