HWND wnd = ::FindWindow( "Shell_TrayWnd", NULL ); if ( wnd != NULL ) ::SendMessage( wnd, WM_COMMAND, 0x019f, 0 ); //Свернуть все окна