eWorld.UI - Matt Hawley

Ramblings of Matt

Minimizing Applications To Systray

August 5, 2004 22:46 by matthaw

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.



Categories: .NET
Actions: E-mail | Permalink | Comments (1) | Comment RSSRSS comment feed

Comments

August 6. 2004 03:38

So minimize, hide and then show and restore has side-effects in WinForms? What are the problems?

http://

Comments are closed

Copyright © 2000 - 2024 , Excentrics World