All Forums
 Microsoft Windows CE
 General CE
 Hide the Taskbar
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

KnowledgeBase

296 Posts

Posted - 26 Feb 2002 :  09:44:04  Show Profile  Email Poster
Q: I don't want the Windows CE taskbar to show up below my application. How can I hide it?


  • Add the following keys to your CE registry to minimize the taskbar to a short bar:


    [HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\OnTop]
      "Default"=dword:0
    [HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\AutoHide]
      "Default"=dword:1

  • You can also hide the taskbar programatically:


    HWND hTaskBarWnd = ::FindWindow(_T("HHTaskBar"), NULL);
    if (hTaskBarWnd)
    {
    ::EnableWindow(hTaskBarWnd, FALSE);
    ::ShowWindow(hTaskBarWnd, SW_HIDE);
    }

    When exiting your application, use SW_SHOW and set Enable to TRUE.


We also have managed code versions of this function.

See topic 40 for details about how to suppress the desktop entirely.



Edited 9-Jul-2003 by ctacke: added managed code links
  Topic  
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.03 seconds. Snitz Forums 2000