关不掉的窗口

#include "stdafx.h"


int WINAPI _tWinMain(HINSTANCE hInstanceExe, HINSTANCE, PTSTR pszCmdLine, int){
    
    HWND hWnd = GetDesktopWindow();

    while(1){
        ::MessageBox(hWnd, _T("FUCK YOU"), _T("整蛊程序"),  MB_OK); 
    }

    return(0);
}

MessageBox弹出窗口,while(1),无限循环执行

原文地址:https://www.cnblogs.com/zero5/p/3184944.html