i have a string whose textcolor is to be changed as selected by user from colordialog ?
COLORREF m_crColor; //in header file
void CMainWnd::OnTimer(UINT_PTR nIDEvent)
void CMainWnd::OnTimeSettings() //menu p0
if (colorDlg.DoModal() == IDOK)
m_crColor = colorDlg.GetColor();
m_crColor is to be assigned to strTitle ( SDI );
how should i do ?plz give me an idea
i found that m_crColor has the color that i select from the color dialog but i am not able to assign it to the strTitle. when i debugged the program.