Minimizing Applications To Systray

This is just a heads up for those developers creating applications in which your app can minimize to the systray.

NEVER NEVER NEVER set the Visible property. Doing so can cause unexpected behavior when trying to restore the application from its minimized "systray" state.

Also, a side note - if your application needs to minimize to the systray, and dissapear from the taskbar, set FormBorderStyle to FixedToolWindow, then when it is restored, set it back to Fixed3D or FixedSingle, or Sizable. What this does is that it eliminates your application from being "alt-tabbed" to while in its minimized "systray" state.

Just a few helpful tips from your handy dandy .NET neighbor.

1 Comment

Comments have been disabled for this content.