PDA

Click to See Complete Forum and Search --> : How to hide and show taskbar button at runtime?


mwdelta
Nov 10th, 1999, 04:30 AM
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

Compwiz
Nov 10th, 1999, 06:18 AM
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

mwdelta
Nov 10th, 1999, 06:33 AM
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