Remove 'show hide button' in Windows 7.

Discussion in 'Software' started by Rayzipan, May 15, 2015.

  1. Rayzipan

    Rayzipan Specialist

    Hi MGF.

    Is there a way to remove the 'show hide button' in Windows 7? I'd like a reg tweak method or an open-source program to achieve this, if possible.

    Thanks.
     

    Attached Files:

  2. GermanOne

    GermanOne Guest

    Have a look at 7+ Taskbar Tweaker.
    There is a check box Hide the "Show desktop" button that should do the trick.
     
  3. plodr

    plodr Major Geek Super Extraordinaire

  4. Rayzipan

    Rayzipan Specialist

    Ah yes, that's a very handy tool. Although I'm surprised there is no registry or other simple manual tweak to do this.
     

    Attached Files:

  5. GermanOne

    GermanOne Guest

    Glad you found it helpful :)
    Unfortunately no way. If it was that easy I would have offered you a simple script ;)
     
  6. Earthling

    Earthling Interplanetary Geek

    Windows has always had a taskbar button for quick access to the desktop. How would you get there otherwise with umpteen windows open? :confused

    EDIT - ah! Windows D
     
  7. Rayzipan

    Rayzipan Specialist

    Win key + d.
     
  8. Earthling

    Earthling Interplanetary Geek

    Yeah, I realised as soon as I had posted but I find the peek feature useful.
     
  9. Eldon

    Eldon Major Geek Extraordinaire

    BTW, do you want to remove the Show desktop because it's annoying?
    You can also disable it. Right-click the Show desktop bar and uncheck Peek at desktop.
    See snapshots.
     

    Attached Files:

  10. Rayzipan

    Rayzipan Specialist

    But the icon remains in both your images. :confused
     
  11. usafveteran

    usafveteran MajorGeek

    Do you want those icons to be totally unseen or do you want them all directly on the taskbar? If you want them visible on the taskbar, you can drag them out of the Show Hidden Icons box to the taskbar.

    Edit: Please clarify what you mean by "show hide button'? Do you mean the Show Hidden Icons button on the taskbar or the Peak button to the far right edge of the taskbar?
     
  12. Rayzipan

    Rayzipan Specialist

    Hi usafveteran. I only want to get rid of the icon as shown in the image on my first post. 7+ Taskbar Tweaker achieved this (as seen in my 2nd post) -- but there should be an easier way (that is not installing something).
     
  13. Eldon

    Eldon Major Geek Extraordinaire

    The bar is disabled. It will only show the desktop when clicked.

    plodr posted a link to ShowDesktop Remover which doesn't install, and it doesn't need to be running. Click Hide Show Desktop on System Startup and forget about it.
     
  14. Rayzipan

    Rayzipan Specialist

    I see, 'ShowDesktop Remover' sounds like the best solution so far.

    Edit: 'ShowDesktop Remover' leaves a gap there while '7+ Taskbar Tweaker' actually removes the icon.
     
    Last edited: May 17, 2015
  15. Earthling

    Earthling Interplanetary Geek

    Maybe there would have been if more than one person was requesting it ;)
     
  16. GermanOne

    GermanOne Guest

    Well -as I told you before- unfortunately it is more complicated.
    I wrote a little C code that uses the Windows API to find that button and toggle its visibility
    Code:
    #include <windows.h>
    
    int main(void)
    {
      HWND hwndTaskBar = NULL, hwndSysTray = NULL, hwndShowDesktopBtn = NULL;
    
      if (!(hwndTaskBar = FindWindowExW(NULL, NULL, L"Shell_TrayWnd", NULL))
          || !(hwndSysTray = FindWindowExW(hwndTaskBar, NULL, L"TrayNotifyWnd", NULL))
          || !(hwndShowDesktopBtn = FindWindowExW(hwndSysTray, NULL, L"TrayShowDesktopButtonWClass", NULL)))
        return 1;
    
      if (!ShowWindow(hwndShowDesktopBtn, SW_HIDE))
        ShowWindow(hwndShowDesktopBtn, SW_SHOW);
    
      return 0;
    }
    
    It would be almost the same code if you want to remove the button entirely. But it will however leave the gap between clock and screen edge. To remove that little piece of free space you would need to enumerate the elements in the systray, measure them, add up their widths then move and resize the systray accordingly. As you can see it's quite difficult compared with a simple changing in the registry ;)
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds