iwdu15,
In addition to the other comments.
I normally simply handle the Resize event.
Something like:
Protected Overrides Sub OnResize(ByVal e As System.EventArgs)
MyBase.OnResize(e)
Select Case Me.WindowState
Case FormWindowState.Normal
MessageBox.Show("Form was restored",
Application.ProductName)
Case FormWindowState.Minimized
MessageBox.Show("Form was minimized",
Application.ProductName)
Case FormWindowState.Maximized
MessageBox.Show("Form was maximized",
Application.ProductName)
End Select
End Sub
--
Hope this helps
Jay [MVP - Outlook]
T.S. Bradley -
http://www.tsbradley.net
"iwdu15" <iw****@discussions.microsoft.com> wrote in message
news:B3**********************************@microsof t.com...
| hi, how can i catch when the user clicks the minimize button on the form
and
| do a certain event then? what im looking to do is when the user minimizes
the
| form, to put the form on the system tray. i kno how to put it on the tray
but
| how do i catch when its been minimized? thanks
| --
| -iwdu15