Hi, i guess you know my programming skill, so be nice to me if total nonsence: if ( ... || ... + (msg == WM_IME_SELECT) || + (msg == WM_IME_SELECT) || ... seem to redundant. It happens it two places. Regards, W.