CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Form Visibility

  1. #1
    Join Date
    Sep 2001
    Posts
    160

    Form Visibility

    I have an app that will run in the background. I have the icon showing in the system tray. But my app is still displayed on the task bar. Can anyone tell me if there is anyway to not show the app on the task bar and also not show it as minimized and still show it in the system tray? Also I need the option to show the form at will from the icon in the system tray. i would like it to work just like the system clock.


    Thanks,

    Jason

  2. #2
    Join Date
    Apr 2004
    Location
    Austria
    Posts
    43
    The form has a property called "ShowInTaskbar" and you can set that to true or false


    setting it to true will hide it from the taskbar..

    But I would recommend not only setting Form1.Visible = False but to hide it by using
    Form1.Hide .. it should be hidden from the taskbar as well without doing anything

    greetings UNI

  3. #3
    Join Date
    Sep 2001
    Posts
    160
    Thanks,

    sometimes I miss the simple stuff.

    Jason.

  4. #4
    Join Date
    Nov 2003
    Location
    Australia
    Posts
    137
    I have the opposite problem, my application appears as a floating application on the desktop, but does not appear on the task bar?

    I have show in task bar set to true, and visible set to true.
    As an experiment I set showintaskbar to false but still not showing in the taskbar.

    How can this be so?

    I have packaged this for my user, does the package process have control over this.

    It also works like this in my development environment?

    Any idea on how to resolve this would be a great help.

    Thanks
    TT

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured