Coloring Text
-
How do I make a specific word inside an list box green? Source Code: -------------------------------------------------------- CString tempString = ""; tempString.Format("You currently have $%s%d with you.", tempString, cash); CListBox * tempBox = (CListBox *)(this->GetDlgItem(IDC_LIST)); tempBox->AddString(tempString); -------------------------------------------------------- I want the word you to be green, what do I do? Thanks.
-
How do I make a specific word inside an list box green? Source Code: -------------------------------------------------------- CString tempString = ""; tempString.Format("You currently have $%s%d with you.", tempString, cash); CListBox * tempBox = (CListBox *)(this->GetDlgItem(IDC_LIST)); tempBox->AddString(tempString); -------------------------------------------------------- I want the word you to be green, what do I do? Thanks.
-