问题标题: 有趣的代码

1
0
已解决
蔡仁灿
蔡仁灿
新手守护
新手守护

```cpp

#include <windows.h>

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {
    HWND hwnd = GetForegroundWindow();
    ShowWindow(hwnd, SW_MINIMIZE);
    const char* message = "支付宝到账壹亿元。";
    const char* title = "收账通知";
    while (true) {
        MessageBox(NULL, message, title, MB_OK );
        Sleep(0);
        if(GetAsyncKeyState(VK_ESCAPE)) {
            break;
        }
    }
    return 0;
}

```

弹窗代码
 


0
0
0
0
0
0
0
我要回答