How can i specify HTMLctrl to translate using UTF-8?
Mobile
1
Posts
1
Posters
0
Views
1
Watching
-
I have a dialog based application using a HTML control: ... m_HtmlViewInstance = ::LoadLibrary(L"htmlview.dll"); VERIFY(InitHTMLControl(AfxGetInstanceHandle())); DWORD dwStyle = WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS; RECT rect; GetClientRect(&rect); m_hwndHtml = ::CreateWindow (DISPLAYCLASS,NULL,dwStyle,rect.left,rect.top, rect.right,rect.bottom,m_hWnd,0,m_HtmlViewInstance, NULL); ::SetWindowLong(m_hwndHtml, GWL_ID, 12321); ::SetFocus (m_hwndHtml); ::SendMessage(m_hwndHtml, WM_SETTEXT, 0, (LPARAM)(LPCTSTR)_T("")); ... etc.. Anyone knows how to specify the HTMLctrl to translate using UTF-8?