The edit box is CRichEditCtrl, add AfxInitRichEdit2 method in InitInstance in CWinApp, and then use the CHARFORMAT structure to set the font style and color ...
確定! 回上一頁