mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 20:19:26 +00:00
Patch by Aric Stewart : user32: Implement handling of WM_INPUTLANGCHANGE. Updated header and made WIN_ListChildren global.
svn path=/trunk/; revision=38162
This commit is contained in:
parent
8a36d2a8ba
commit
46ef532ab0
3 changed files with 11 additions and 3 deletions
|
@ -63,3 +63,5 @@ User32CreateWindowEx(DWORD dwExStyle,
|
|||
HINSTANCE hInstance,
|
||||
LPVOID lpParam,
|
||||
BOOL Unicode);
|
||||
|
||||
HWND* WIN_ListChildren (HWND hWndparent);
|
||||
|
|
|
@ -1574,8 +1574,15 @@ User32DefWindowProc(HWND hWnd,
|
|||
|
||||
case WM_INPUTLANGCHANGE:
|
||||
{
|
||||
//FIXME: What to do?
|
||||
return TRUE;
|
||||
int count = 0;
|
||||
HWND *win_array = WIN_ListChildren( hWnd );
|
||||
|
||||
if (!win_array)
|
||||
break;
|
||||
while (win_array[count])
|
||||
SendMessageW( win_array[count++], WM_INPUTLANGCHANGE, wParam, lParam);
|
||||
HeapFree(GetProcessHeap(),0,win_array);
|
||||
break;
|
||||
}
|
||||
|
||||
case WM_ENDSESSION:
|
||||
|
|
|
@ -126,7 +126,6 @@ static HWND MDI_MoreWindowsDialog(HWND);
|
|||
static LRESULT WINAPI MDIClientWndProcA( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
|
||||
static LRESULT WINAPI MDIClientWndProcW( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam );
|
||||
|
||||
static
|
||||
HWND* WIN_ListChildren (HWND hWndparent)
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue