I'm back, and I brought along with me my newest creation: BausButton. (Pronounced Boss Button.)
This little Windows app sits innocuously in your notification tray. When you hit the hotkey, whatever window has focus at that moment disappears. The window disappears and the task bar icon (if any) also disappears. Hit the hotkey again and the window reappears. See... a boss button... for when the boss walks in and you need to quickly hide whatever you were looking at.
But there's more. It's got password protection. If you have set a password previously, then BausButton will challenge you before it un-hides the hidden window. Passwords are salted and then hashed with SHA256. (A new random salt is generated upon each new "installation" of the app.)
By default, the "boss button" is mapped to the "Scroll Lock" key, but you may customize the hotkey by editing the BausButton registry key.
The "HideKey" value corresponds to the virtual key-codes defined by Microsoft, which you can find right here. So for instance, if you wanted to change the hotkey to the space bar, you'd change the HideKey registry value to 0x20 (decimal 32.)
If you ever just want to reset everything, just close the app, delete the whole BausButton registry key, then restart the app.
When no window is hidden, the BausButton icon is colored in.
When a window is hidden, the BausButton icon is transparent.
If you click the icon, you get a very simple menu. If you exit the app, any hidden window will automatically be unhidden before the app exits, and if a password is set, you will be challenged for that password before the app exits, and if you get the password wrong, the app just won't exit.
Here's the signed binary. Let me know what you think.
(Update 8/14/2015: v1.0.1 - Fixed password dialog focus problem.)BausButton.zip (144 KB)