>
> Hi,
>
> The best solution for the time being is to use Over-the-top entry, so
> that characters you type are shown in a small child window rather than a
> seperate window.
>
> If you're feeling keen, then you could try and interface XIM to
> Microsoft's own input context stuff (see ImmGetContext in imm32.dll).
>
> Do you have any patches for us to try out?
>
> Mike
>
> rain shaw wrote:
> > Hi all,
> > I do apply some patches to the wine source according to some tips in
> > bugs library,and I can input chinese in notepad now.
> > But,every time window was created,will the input method popup.For
> > example,if a message box popped up,the xim will popup as well.
> > It seems that we called the XIM related Xlib function every time new
> > window was created.
> > Would u please give me some suggestions about how to disable create and
> > open XIM while create non-text-input related window? in other word,how
> > to determin the x-window that going to be created is a control that need
> > input method ?
> > Thanx!
>
>
>
>
>

Sorry,I'm newbie to Wine and Xlib, So I just add some following statemengs
if(cs->lpszClass[0] == 'E'
|| (0 == strcmp(cs->lpszClass,"NotesRichText"))
|| (0 == strcmp(cs->lpszClass,"IRIS.tedit")))
{ /*Yes,Just seek the first char*/
XIM_DoCreateIC(data->client_window);
XIM_SetIC(display, data->client_window, data->whole_window);
}

yes,it looks really ugly but works.

Now,I met the same question as message http://www.winehq.com/hypermail/wine-devel/2002/05/0043.html

I try to add apparently mapping of WM_IME_CHAR and friends to/from unicode in windows/winproc.c. bug nothing happens.
Any suggestions ?




·暑期新款诺基亚,三星手机百元起!
·163.net现已推出专业的“企业邮箱”服务!详情请看http://mail.163.net

 

163.net 收费邮箱 163.net 传真易
白金版
(100 M ,可发10M附件)
黄金版
(60 M ,可发10M附件)
Fax to Email
用邮箱接收传真
Email to Fax
用邮箱发送传真
300元/年
(送1200条邮件短信)
180元/年
(送720条邮件短信)
25元/月
(不限接收传真次数)
最低预付200元
(费用比长途更便宜)
内置瑞星杀毒 | 垃圾邮件过滤 | 支持手机邮件
简单易用 | 省纸省时 | 群发功能 | 语音留言