Schroeder
09-04-2003, 08:49 AM
I would like to find a way to perform an action when someone minimizes the form. I have some code to add an icon to the systray, but I only want to do it when the minimize the form. Is there a way to fire an event when the user minimizes the window? I can't seem to figure out how to do that. All that I can find in MSDN is how to set either set the form as minimized at run-time or how to have the minimize button on the form or not. Any help pointing me to the right direction would be helpful.