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