Index: base/applications/kbswitch/kbswitch.c =================================================================== --- base/applications/kbswitch/kbswitch.c (revision 68247) +++ base/applications/kbswitch/kbswitch.c (working copy) @@ -390,6 +390,7 @@ { static HMENU hRightPopupMenu; static TCHAR szLCID[MAX_PATH], szLangName[MAX_PATH]; + static UINT s_uTaskbarRestart; switch (Message) { @@ -400,6 +401,7 @@ hRightPopupMenu = GetSubMenu(LoadMenu(hInst, MAKEINTRESOURCE(IDR_POPUP)), 0); ActivateLayout(hwnd, ulCurrentLayoutNum); + s_uTaskbarRestart = RegisterWindowMessage(TEXT("TaskbarCreated")); return 0; } @@ -506,6 +508,11 @@ return 0; } + + default: + if(Message == s_uTaskbarRestart) + AddTrayIcon(hwnd); + break; } return DefWindowProc(hwnd, Message, wParam, lParam);