Akihiro Sagawa sagawa.aki@gmail.com writes:
- /* create default IME window */
- if (imm_register_window && needs_ime_window( hwnd ))
- {
struct user_thread_info *thread_info = get_user_thread_info();thread_info->ime_win_refs++;TRACE("ime_win_refs=%u\n", thread_info->ime_win_refs);if (thread_info->ime_win_refs == 1){HWND win = imm_register_window( hwnd );TRACE("create ime window (hwnd=%p)\n", win);}- }
- /* send WM_NCCALCSIZE */
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. Also since the window class is in user32 now the window creation could probably happen there too.