no taskbar , but systray

This is a discussion on no taskbar , but systray within the Windows Programming forums, part of the Platform Specific Boards category; Hi, i want to make an app that is never shown in the taskbar, bur always in the systray. I ...

  1. #1
    Registered User
    Join Date
    Jul 2003
    Posts
    17

    no taskbar , but systray

    Hi,

    i want to make an app that is never shown in the taskbar, bur always in the systray. I have searched the board but i only found example for minimizing to tray

  2. #2
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    I'm pretty sure there's a thread somewhere on the board about this.

    As for not having it show up in the taskbar, that's easy:

    Code:
    ShowWindow(hwnd,SW_HIDE);
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  3. #3
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    I have searched the board but i only found example for minimizing to tray
    I searched for "tray" and found this link in a post straight away:
    http://blacksun.box.sk/aztek/winprog...nprog.html#2_2
    It should be perfectly adequate.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

  4. #4
    mustang benny bennyandthejets's Avatar
    Join Date
    Jul 2002
    Posts
    1,401
    Sorry, I made a mistake with the taskbar code.
    Code:
    ShowWindow(hwnd,SW_HIDE);
    Will completely hide the window.

    One option is to instead specify WS_EX_TOOLWINDOW as an extended window style with CreateWindowEx(). It wont be in the taskbar, but you wont have a system menu, and the caption bar is smaller.
    benforbes@optusnet.com.au
    Microsoft Visual Studio .NET 2003 Enterprise Architect
    Windows XP Pro

    Code Tags
    Programming FAQ
    Tutorials

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting all window handles on taskbar
    By Yuri in forum Windows Programming
    Replies: 1
    Last Post: 06-17-2006, 05:31 PM
  2. Replies: 0
    Last Post: 11-08-2005, 02:28 AM
  3. Problem with an icon in the TaskBar status area
    By dit6a9 in forum Windows Programming
    Replies: 2
    Last Post: 08-16-2004, 11:33 PM
  4. How to minimize to the systray and not to the taskbar?
    By Templario in forum Windows Programming
    Replies: 3
    Last Post: 11-29-2002, 04:00 AM
  5. Systray and Taskbar control
    By tkb4u in forum C++ Programming
    Replies: 1
    Last Post: 12-24-2001, 08:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21