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.