Click to See Complete Forum and Search --> : Capture Minimize Event


Mongoose
June 21st, 2001, 03:47 PM
Is there a simple way to capture when the user clicks the minimize button for a VB form. I need to add some code to do something when the user clicks the Minimize button.

Thanks,
Jeff

SACEIT
June 21st, 2001, 04:37 PM
'This will intercept the minimizing event of the form.

private sub Form_resize()
If me.windowstate= vbminimized then
'....
end if
end sub