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.


Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

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

Comments

August 6. 2004 02:38

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

http://

Add comment


 

  Country flag

[b][/b] - [i][/i] - [u][/u]- [quote][/quote]



Live preview

August 28. 2008 04:44



Copyright © 2000 - 2008 , Excentrics World