blob: cdeff75f87689ee1a572ff3b61fc492c139e5007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "windows.h"
LPCTSTR windowClassName = L"popupshadow";
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PWSTR pCmdLine, int nCmdShow)
{
while (true) {
HWND h = FindWindowEx(NULL, NULL, windowClassName, NULL);
if (h != NULL && IsWindowVisible(h)) {
ShowWindow(h, SW_HIDE);
ShowWindow(h, SW_HIDE);
}
Sleep(3000);
}
return 0;
}
|