clear100-com
asked on
Simple: When programs are minized...
Hello, I want to be able to run some code when the user minimizes the program, i know this can be done because it happens on a lot of programs. I want to hide the form when this happens because it resedents in the system tray. So all i need is how to figure out when it is minized.
Thanks...
Thanks...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
see i knew this, but i just was too tired or somthing, thanks.!!!
Idle_Mind,
Why not to accept your code ? It's correct solution also.
Why not to accept your code ? It's correct solution also.
Because I just changed one line in your code which I think clear100-com would have known to do. Your answer had the main part of the solution...my poor brain just couldn't leave the question without posting the complete answer.
You posted first so I felt you should get the points.
Idle_Mind
You posted first so I felt you should get the points.
Idle_Mind
:) 10x
If Me.WindowState = vbMinimized Then
Me.Hide
End If
End Sub
DON'T ACCEPT THIS AS AN ANSWER!!!
Accept the solution from ___XXX_X_XXX___
Idle_Mind