Systray and No task listing

This is a discussion on Systray and No task listing within the Windows Programming forums, part of the Platform Specific Boards category; I read the system tray post and it was useful, but im also trying to get my program to no ...

  1. #1
    Codebot
    Join Date
    Jun 2004
    Location
    Toronto
    Posts
    195

    Systray and No task listing

    I read the system tray post and it was useful, but im also trying to get my program to no show itself in the taskbar. The program has to appear to be "discrete" so that the user does not accidentally close it or anything like that.

    Can anyone provide any info on this? i know its possible.
    Founder and avid member of the Internationsl Typo Associateion

  2. #2
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    build app as system service

    Kuphryn

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    34
    To hide it from the taskbar (the bar usually along the bottom of the screen), you simply hide your window. Unless you really do mean the list of processes, like in the Task Manager.

    ShowWindow( hMainWindow, SW_HIDE );
    Last edited by veecee; 05-09-2006 at 12:47 PM.

  4. #4
    Codebot
    Join Date
    Jun 2004
    Location
    Toronto
    Posts
    195
    Umm, what i mean is that the window should still be visible on the screen and interactable but there shouldnt be a task button visible. And having this run as a service is not an option due to the restrictions my boss gave me :P
    Founder and avid member of the Internationsl Typo Associateion

  5. #5
    Registered User
    Join Date
    May 2006
    Posts
    34
    I see what you mean. Check out this doc on msdn...

    http://msdn.microsoft.com/library/en...asp?frame=true

    The info you want is at the "Managing Taskbar Buttons" section of it. But here's a snippet of it:

    "To prevent the window button from being placed on the taskbar, create the unowned window with the WS_EX_TOOLWINDOW extended style. As an alternative, you can create a hidden window and make this hidden window the owner of your visible window."

Popular pages Recent additions subscribe to a feed

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