大家好:
    怎么用Delphi显示隐藏的系统桌面图标?

解决方案 »

  1.   

    用FindWindow('Progman',nil)得到桌面窗口句柄.
    再用SHOWWINDOW()隐藏.
      

  2.   

    var hdesktop:Thandle;
    隐藏
    hdesktop:=findwindow('progman',nil);
    showwindow(hdesktop,sw_hide);显示
    hdesktop:=findwindow('progman',nil);
    showwindow(hdesktop,sw_SHOW);
      

  3.   


    状态栏隐藏strpcopy(@wndclass[0],'shell_traywnd');
    hdesktop:=findwindow(@wndclass[0],nil);
    showwindow(wndhandle,sw_hide);显示
    strpcopy(@wndclass[0],'shell_traywnd');
    hdesktop:=findwindow(@wndclass[0],nil);
    showwindow(wndhandle,sw_show);