Link to home
Start Free TrialLog in
Avatar of MZmuda1
MZmuda1Flag for United States of America

asked on

What's the difference between Minimize and Hide

What is the difference between Application.Minimize and Form.Hide?

I'm trying to get my program to disappear into the system tray whenever someone clicks the system MINIMIZE and CLOSE buttons. (I've accomplished this; no problems.) But I'm using BOTH the Minimize and Hide commands.

Ideally, which should I be using? Does minimizing the application use less resources?

I have a timer on my form which needs to keep going in the background. Will Minimize prevent it from activating? What about Hide?

Thanks for the info.

- Mike Z

PS: Again, I'm not looking for code here, just an explanation whether or not I should be using Minimize or hide. Thanks.

- Z


ASKER CERTIFIED SOLUTION
Avatar of Geert G
Geert G
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MZmuda1

ASKER

Thanks, Guys. A little conflicting info (uses more resources; doesn't use more resources, etc...) but overall good. Updated my code, and everything works great.

Thanks!
you can use 2 menu options:
Minimize to tray
and
Minimize