Thread: Systray Icon removeable

  1. #1
    Registered User
    Join Date
    Jul 2003

    Systray Icon removeable

    Is it possible to remove an other apps icon from the systray?
    I am going to write a frontend for an app and therefore want to give the user the possibilty to completly hide the other app, until it is needed again.

  2. #2
    Registered User
    Join Date
    Jun 2003
    Well, since you need to pass the structure that was provided when the icon was created, I'd say it would be very difficult, if not possible, to remove the icon. The handle of the app window would be easy to get and fake, but the ID could be much tougher. Besides, if you did manage to remove the icon, the other application would most likely do something undefined as could be attempting to use something that has been freed.

  3. #3
    Registered User MicroFiend's Avatar
    Join Date
    Nov 2002
    elixia is correct it is impossible to remove it or hide it legitemately the only way around it i guess would be to hook the program and intersept any commands related to the systray icon, then blitting a mask for the icon in the systray over the top of the icon this will give the user the feel that it has been hidden but realy it will just be visually morphed and calls intercepted ont he downside you will have a imaginary gap in the systray where the icon should be (err well still is ^^) hope my rambling helps ^^

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Icon Help
    By The Brain in forum Windows Programming
    Replies: 11
    Last Post: 04-05-2009, 04:06 PM
  2. right click on an icon in systray
    By fizisyen in forum Windows Programming
    Replies: 4
    Last Post: 03-22-2004, 12:49 AM
  3. Console App & Systray Icon
    By GaPe in forum Windows Programming
    Replies: 3
    Last Post: 06-14-2003, 05:08 AM
  4. Icon? help!
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-16-2001, 06:21 PM
  5. icon in title bar?
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 12-12-2001, 06:43 PM