After adding the following code snippet into my
WM_CREATE
handler I found out that edit control uses
System
font :
HFONT hf = (HFONT)SendMessage( hEdit, WM_GETFONT, 0, 0 );
HDC eDC = GetDC( hEdit );
wchar_t txt[50];
GetTextFace( eDC, 50, txt );
SetWindowText( hEdit, txt );
ReleaseDC( hEdit, eDC );
DeleteObject( hf );
After choosing this same font in
Notepad, the problem was reproduced.
Thus, after adding the following code just below the code I submitted above, the problem was fixed :
SendMessage( hEdit, WM_SETFONT,
(WPARAM)( (HFONT)GetStockObject(DEFAULT_GUI_FONT) ), 0 );
So the answer to my question is :
The problem is font, thus it must be changed to the one that can show special characters I need to display.
Hopefully this will save someone the trouble.