Quote
siria
Weird...
@siria
Does '
Weird...' mean, you could not reproduce it?
I guess 'open diverted window in background' is
used for current instance of application.
If opening KM from explorer, while it is already
opened in background, the new window is being created
behind the explorer window.
If there is no other switch in Preferences,
here is a fix for next version:
MfcEmbed.cpp
===
// if another instance is already running, pass it our command line paramaters,
// and ask it to open a new window
// eventually, we should handle this through DDE
if (m_bAlreadyRunning) {
// find the hidden window
if (HWND hwndPrev = ::FindWindowEx(NULL, NULL, HIDDEN_WINDOW_CLASS, NULL) ) {
// deadlock: foreground if alread running
SetForegroundWindow(hwndPrev);
===