HANDLE Hwndtaskbar =:: FindWindow (TEXT ("Hhtaskbar"), NULL);
if (:: IsWindowVisible (Hwndtaskbar) ==false)
{
If the taskbar is hidden, display the taskbar.
:: ShowWindow (Hwndtaskbar, SW_SHOWNORMAL);
}
Else
{
If the taskbar is displayed, hide the taskbar
:: ShowWindow (Hwndtaskbar, sw_hide);
}
Disclaimer: The above text is "Wuhan Han Code Technology Co., Ltd." original, reproduced when must be marked the source.
Technology sharing, communicating with you and me. Progress together. Www.hanma-scan.com
int hwnd = FindWindow ("Hhtaskbar", null); if (IsWindowVisible (HWND) ==false) { //If the taskbar is hidden, display the taskbar ShowWindow (hwnd, sw_show); } else { //If the taskbar is displayed, hide the taskbar ShowWindow (hwnd, sw_hide); }
WinCE hides the taskbar, displays it when the taskbar is hidden, and hides it when the taskbar is displayed (findwindow,showwindow,iswindowvisible)