Loading STRINGTABLE values
2025-12-03
Written by: xiaobin
You need to change the language settings!
Open resource view;
Click “String Table” and change the language attribute:
Chinese (Simplified, PRC)

void CTextView::AssertValid() const
{
CEditView::AssertValid();
CString fmt;
fmt.LoadString(IDS_STRING1);
GetEditCtrl().SetWindowText(fmt);
}