HWND desktop,task; desktop=FindWindow(L"ProgMan",NULL); task=FindWindow(L"Shell_TrayWnd",NULL); ShowWindow(task,SW_HIDE);//隐藏任务栏 //ShowWindow(desktop,SW_HIDE);//隐藏桌面
HWND desktop,task;
desktop=FindWindow(L"ProgMan",NULL);
task=FindWindow(L"Shell_TrayWnd",NULL);
ShowWindow(task,SW_SHOW);//显示
ShowWindow(desktop,SW_SHOW);//显示