#include<windows.h>
#include<cstdio>
int main(){
int x;
x=MessageBox(GetForegroundWindow(),"","",1);
printf("%d\n",x);
x=MessageBox(GetForegroundWindow(),"系统马上关机","运行",2);
printf("%d\n",x);
x=MessageBox(GetForegroundWindow(),"","系统提示",3);
printf("%d\n",x);
x=MessageBox(GetForegroundWindow(),"456789545678987289347548394839874548789878938298373892384738293847389","sb",4);
printf("%d\n",x);
x=MessageBox(GetForegroundWindow(),"","",5);
printf("%d\n",x);
x=MessageBox(GetForegroundWindow(),"电脑即将爆炸,请赶紧离开座位!","提示",6);
printf("%d\n",x);
}
c++系统弹窗程序
于 2022-04-18 10:20:46 首次发布