Bug 384950 - Windows 7: if open a file via --launcher.openFile in an
already running application, the window isn't brought to front

Adding "SetForegroundWindow(window);" at the end of
"sendOpenFileMessage(HWND window)" solves this issue. A fixed version of
"eclipse_1503.dll" was created by Silenio Quarti (see
http://eclip.se/384950#c5) and has been successfully tested and used in
production by Advantest (with an Eclipse RCP Windows 32-bit application)
for more than a year.

Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=384950
Signed-off-by: Holger Voormann <eclipse@voormann.de>
1 file changed