Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#include
#include
#include
#include
using namespace std; //Warning Currently this program only remembers one Window //So, if you hide two windows, it can only bring back the last Window //the first will remain hidden //Key Table http://www.kbdedit.com/manual/low_level_vk_list.html int main(){ HWND hWnd; while(true){ //Press Left Shift and H to hide Current Window if (GetAsyncKeyState(VK_LSHIFT)){ Sleep(500); if(GetAsyncKeyState(0x48)){ hWnd = GetForegroundWindow(); ShowWindow( hWnd, SW_HIDE ); ShowWindow( hWnd, SW_HIDE ); } } //Press Left Shift and S to Bring Window Back if (GetAsyncKeyState(VK_LSHIFT)){ Sleep(500); if(GetAsyncKeyState(0x53)){ ShowWindow( hWnd, SW_SHOW ); } } } return 0; }
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)