8451
PopUp Wisdom / Re: PopUp Wisdom Love
« Last post by mouser on December 02, 2013, 03:10 AM »Ok, would you mind trying the newest beta i just uploaded?
I think it now makes sense what's happening.
My code ensures that the quote window does not "actively" steal focus from the window that had it at the time of triggering a quote.
But what happens when you click on a button on the quote form, is that you yourself bring the quote window to the foreground, which has no ill effect, BUT, when that currently-foregrounded window is hidden, what happens is that Windows itself (at least on win7), says "ok, our previously foregrounded window just disappeared, i will remember to bring it back to foreground the next time it appears."
So essentially, it's windows trying to be smart by, on its own, resetting the focus to the quote window in this scenario (where it was foregrounded right before it was last hidden).
There may be a better workaround, but what i've done in the latest version to try to fix this is, right before hiding the quote window, i send the foreground focus off it. That way when it shows itself the next time, windows doesn't try to fix it.
Let me know if it works.
I think it now makes sense what's happening.
My code ensures that the quote window does not "actively" steal focus from the window that had it at the time of triggering a quote.
But what happens when you click on a button on the quote form, is that you yourself bring the quote window to the foreground, which has no ill effect, BUT, when that currently-foregrounded window is hidden, what happens is that Windows itself (at least on win7), says "ok, our previously foregrounded window just disappeared, i will remember to bring it back to foreground the next time it appears."
So essentially, it's windows trying to be smart by, on its own, resetting the focus to the quote window in this scenario (where it was foregrounded right before it was last hidden).
There may be a better workaround, but what i've done in the latest version to try to fix this is, right before hiding the quote window, i send the foreground focus off it. That way when it shows itself the next time, windows doesn't try to fix it.
Let me know if it works.

Recent Posts