MZmuda1
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can use 2 menu options:
Minimize to tray
and
Minimize
Minimize to tray
and
Minimize
ASKER
Thanks!