>Hi.
>I need to execute a procedure when the user
>minimizes the main window of my application.
>How can I do it?
>Maybe using a timer event but i am wondering
>if this will use many system resources.
>Any idea will be appreciate!
>-----------
>TONY Nascimento
>Cape Verde Islands
The Resize event fires when you minimize a form. You could add code there to check the WindowState property and it Minimized, do something.
HTH.
Larry Miller
MCSD
LWMiller3@verizon.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao