Results 1 to 3 of 3

Thread: How to hide and show taskbar button at runtime?

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Location
    Kansas, USA
    Posts
    58

    Post

    The program I am developing has an option to hide or show the taskbar button (a system tray icon is the default). How can this be done during runtime? Also, how can I get an icon to show up on the taskbar button if my form is borderless?

    Thanks much, Mike

  2. #2
    Hyperactive Member
    Join Date
    Jul 1999
    Location
    NY, USA
    Posts
    270

    Post

    For question 1: To hide your own taskbar button, you must hide the form: Me.Hide

    For question 1: Set the ShowInTaskbar property to true for the form.

    ------------------
    Tom Young, 14 Year Old
    tyoung@stny.rr.com
    ICQ: 15743470
    AIM: TomY10
    PERL, JavaScript and VB Programmer

  3. #3

    Thread Starter
    Member
    Join Date
    Nov 1999
    Location
    Kansas, USA
    Posts
    58

    Post

    Neither of those is really appropriate for my application. First of all, ShowInTaskbar is a read-only property that cannot be modified at runtime. Hiding the form is not an option. =) I was wondering if there was some API function to show and hide the button, perhaps.

    Thanks!

    ------------------
    Mike Wellems
    PowerQuery

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