隐藏,显示任务栏,桌面 C++代码
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);//显示