From: Geoff Voelker Date: Fri, 17 Apr 1998 05:08:23 +0000 (+0000) Subject: (w32_msg_pump): Handle WM_EMACS_SETLOCALE. X-Git-Tag: emacs-20.3~1467 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dfdb40475375492408ecfc341a18a2b5d0faefa4;p=emacs.git (w32_msg_pump): Handle WM_EMACS_SETLOCALE. (w32_wnd_proc): Handle WM_EMACS_SETFOREGROUND. --- diff --git a/src/w32fns.c b/src/w32fns.c index 48f6d2c800d..50f352d1a69 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -3133,6 +3133,10 @@ w32_msg_pump (deferred_msg * msg_buf) if (!PostThreadMessage (dwMainThreadId, WM_EMACS_DONE, 0, 0)) abort (); break; + case WM_EMACS_SETLOCALE: + SetThreadLocale (msg.wParam); + /* Reply is not expected. */ + break; default: /* No need to be so draconian! */ /* abort (); */ @@ -3771,6 +3775,9 @@ w32_wnd_proc (hwnd, msg, wParam, lParam) case WM_EMACS_SHOWWINDOW: return ShowWindow ((HWND) wParam, (WPARAM) lParam); + case WM_EMACS_SETFOREGROUND: + return SetForegroundWindow ((HWND) wParam); + case WM_EMACS_SETWINDOWPOS: { WINDOWPOS * pos = (WINDOWPOS *) wParam;