-
January 18th, 2010, 01:06 PM
#1
how to add color palette ?
how to add color palette so that i can change the color of text.
-
January 18th, 2010, 02:05 PM
#2
Re: how to add color palette ?
You'll have to give a little more detail on what you are trying to do.
-
January 19th, 2010, 03:48 AM
#3
Re: how to add color palette ?
What is your environment?
If you program with API of the GDI, then there is no palette for the text.
Instead, you use SetTextColor(hdc, font_foreground_color); before writing text. Then, it is too late to change the color. The only option would be to write over the old text.
-
January 19th, 2010, 07:08 AM
#4
Re: how to add color palette ?
i have displayed time in caption bar.and the thing is this time's color should be changed as selected at run time.
Used a Dialogbased application.
i have saved time in CTime strTime;
how to change the color of this time ?
help me with an example plz.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|