If we need to display Middot(\XB7) char in your edit or static control. You need to use
::SetWindowTextW in place of ::SetWindowText.
If you are using CString in place of that you need to use CStringW.
for example
CString strMidDot = "·"; //it will display as a junk char
CStringW strwMidDot = L"·"; //it will display correctly while OS language is korean.
::SetWindowTextW in place of ::SetWindowText.
If you are using CString in place of that you need to use CStringW.
for example
CString strMidDot = "·"; //it will display as a junk char
CStringW strwMidDot = L"·"; //it will display correctly while OS language is korean.
Comments
Post a Comment