how to Change color of text at run time ?

Light Poster
19Jan2010,19:48   #1
palz's Avatar
i have displayed time in caption bar.and the thing is this time's color should be changed as selected at run time using CColorDialog.

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.