[C] Untitled →→→→→进入此内容的聊天室

来自 abc, 2024-03-15, 写在 C, 查看 24 次.
URL http://www.code666.cn/view/6356ca2e
  1. #include <windows.h>
  2. #pragma comment (lib, "User32.lib")
  3. void HideWindow() {
  4.         HWND hwnd;
  5.         hwnd=FindWindow("ConsoleWindowClass",NULL);
  6.         if(hwnd) ShowWindow(hwnd,SW_HIDE);
  7.         return;
  8. }
  9. int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow){
  10.         HideWindow();
  11.     while(1){
  12.             MessageBox(NULL, TEXT("Sorry!It is mistake!Plases close it!"), TEXT("消息对话框"), MB_OK);//建立对话框
  13.         }
  14.     return 0;
  15. }
  16. ————————————————
  17.  
  18.                          

回复 "Untitled"

这儿你可以回复上面这条便签

captcha