by Alex Forrow (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 15th July 2002
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Detects when form is minimized. Can also restore
If Me.Height = 360 Then 'minimized
'Own code
End If
End Sub
Sub Restore() 'I recommend this is called from a system tray icon. This code must be in the form code as it uses 'me'
me.WindowState = 0
me.SetFocus
End Sub