Audax321 Posted July 14, 2003 Posted July 14, 2003 Hello, Is there a way to use the minimize button on the form (the one at the top right of every window) to hide the form when you click it instead of minimize it to the taskbar in VB.NET? That way, I can make my form 'minimize' to a notification icon in the systray without having to add a new button to the application. Thanks... Quote
Audax321 Posted July 14, 2003 Author Posted July 14, 2003 Hehe, nevermind I figured it out.... Private Sub Form1_SizeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.SizeChanged If (Me.WindowState = FormWindowState.Minimized) Then MsgBox("Minimized") End If End Sub Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.