Updates: Owner: b...@chromium.org Cc: nsylv...@chromium.org
Comment #36 on issue 3126 by nsylv...@chromium.org: Open link in live messenger will launch chrome.exe but chrome window cannot show http://code.google.com/p/chromium/issues/detail?id=3126 This is because of the flags that msn passes in the STARTUPINFO structure. The documentation of ShowWindow says : --- The first time an application calls ShowWindow, it should use the WinMain function's nCmdShow parameter as its nCmdShow parameter. Subsequent calls to ShowWindow must use one of the values in the given list, instead of the one specified by the WinMain function's nCmdShow parameter. --- But we seem to ignore that, at least in this case. If I replace the Show function, currently looking like : --- void Window::Show(int show_state) { ShowWindow(show_state); SetInitialFocus(); } -- For this one instead : --- void Window::Show(int show_state) { STARTUPINFOW si = { sizeof(si) }; GetStartupInfoW(&si); ShowWindow(si.wShowWindow); ShowWindow(show_state); SetInitialFocus(); } --- it seems to work fine. I doubt this is an acceptable solution though. Assigning to Ben. -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ Automated mail from issue updates at http://crbug.com/ Subscription options: http://groups.google.com/group/chromium-bugs -~----------~----~----~----~------~----~------~--~---