Re: Want Input boxes to accept unicode strings on Standard Window



"Paul Wu" <PaulWu@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:11226219-DE3D-4722-BDCE-7FDB8C49C766@xxxxxxxxxxxxxxxx
Thanks for replying. As I said, building it with Unicode takes huge
effort --
not feasible at current stage. We just want the applications to be albe to
process some unicode texts now (on Standard Windows XP).

I looked at the application -- it was built with static MFC libraries
(Visual Studio 2003). So the MFC libraries may not the problem -- I just
don't understand why when it runs on Chinese Windows XP, the Edit Controls
can accept Chinese texts.


There is a Regional Control Panel that lets you specify the default code
page for non-Unicode apps. If you set that to Chinese, then restart your
app, does it work?

If this works, I think you can call SetThreadLocale() in your app's
CWinApp-derived::OnInitInstance() method to accomplish the same thing
without worrying about the Control Panel setting.

-- David


.