1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 06:50:39 -08:00

(w32_msg_pump): Handle WM_EMACS_SETLOCALE.

(w32_wnd_proc): Handle WM_EMACS_SETFOREGROUND.
This commit is contained in:
Geoff Voelker 1998-04-17 05:08:23 +00:00
parent 8be05193e8
commit dfdb404753

View file

@ -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;