回复 3楼 TonyDeng
这代码是不是哪错了编译没什么问题,问题就是运行了没效果
#include <stdio.h>
#include <Windows.h>
#include <stdlib.h>
void main()
{
HWND win = FindWindowA("TXGuiFoundation", "QQ");
if (win = NULL)
{
MessageBoxA(0,"提醒","没有找到窗口啊亲!", 0);
}
ShowWindow(win, SW_SHOW);
Sleep(1000);
ShowWindow(win, SW_HIDE);
Sleep(1000);
}