Thursday, July 9, 2009

Edit Control - Win32 API - UNICODE - C++?

i use unicode edit control .


it work for certain language


But for another language characters is difference.


for example : instead of Ա is ? character. my code is :





hWndEditBox = CreateWindowW(


L"EDIT",


L"կրակ",


WS_VISIBLE | WS_CHILD |WS_BORDER,


10,


10,


100,


50,


hWnd,


(HMENU)IDC_EDITBOX_TEXT,


(HINSTANCE)GetWindowLong(hWnd, GWL_HINSTANCE),


NULL);

Edit Control - Win32 API - UNICODE - C++?
Most fonts don't support all of the Unicode characters. Different fonts have varying levels of Unicode support. You can try to set the font on this window to be a different font that you know to have better support for the languange you are referring to. You can use the charmap utility to help view the various unicode characters in each font.


No comments:

Post a Comment