Summary: New window on top
Creator:deadlock Date:2011-06-19 15:50:58
Project:K-Meleon Owner:.Nobody
Status:Unconfirmed Severity:Trivial
Version:1.6b2 Target Version:Unknow

User-agent: Firefox/3.6.13

If a new window of a running instance is opened by shell (explorer), the shell remains in foreground.

Solution:
If the running instance is set to foreground the new window is created on top of it.

if (HWND hwndPrev = ::FindWindowEx(NULL, NULL, HIDDEN_WINDOW_CLASS, NULL) ) {
SetForegroundWindow(hwndPrev);

SourceForge Logo