Menu

#6 Sometimes the hotkey must be pressed twice

open
nobody
None
5
2005-03-01
2005-03-01
Anonymous
No

When Thunderbird is in the background but not hidden,
using the hotkey first hides it and restores it in the
foreground only at the second keypress. I'd rather
expect it to get to the foreground at the first one (as
I usually don't remember whether it is hidden or just
in the background). What about testing first, whether
Thunderbird is the foreground window
(GetForegroundWindow equals Thunderbird's hWnd) and
hide it only in that case, moving it to the front
otherwise?

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.