imm32, user32: Create and destroy the default IME window implicitly. (try 3) (resend)

Alexandre Julliard julliard at winehq.org
Sun May 29 21:52:53 CDT 2016


Akihiro Sagawa <sagawa.aki at gmail.com> writes:

> On Fri, 27 May 2016 12:39:27 +0900, Alexandre Julliard wrote:
>> Do you have a test showing that this is supposed to happen between
>> WM_NCCREATE and WM_NCCALCSIZE?  If not, I think it would be useful to
>> add one.
> Yes. I wrote a patch [1/5] showing that the IME window is created
> between WM_NCCREATE and WM_NCCALCSIZE.

Thanks!

>> Also since the window class is in user32 now the window
>> creation could probably happen there too.
> Regarding window creation, I think imm32 is better. Because imm32 has
> ImmDisableIME API. It affects IME window creation as seen in patch [5/5].
> If I implement the API, its settings will be stored in IMMThreadData,
> and it will be referred on window creation. So, creating the IME window
> in imm32 makes sense.

OK, in that case I'd say the other checks (system metrics, class name,
refcount) should all be in imm32 too.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list