Minimizing programs to the notification area
Note: It is no longer recommended to use Windows 7. Minimize applications. Use regular taskbar buttons instead. Your program may support both mechanisms for backward compatibility.
If you need to:
- The program can have only a single instance.
- The program is a run for an extended period of time.
- The icon shows status.
- The icon can be a notification source.
- Doing so is optional.
• Use the Minimize button, not the Close button.
Minimize the program to the notification area
Note: minimizing the program window in the notification area is no longer recommended for Windows 7. Instead, use the usual taskbar buttons. Your program can support both mechanisms for backward compatibility.
')
• To combat clogging of the taskbar, it is necessary to consider the possibility of minimizing the program in the notification area only if the following conditions are met:
- The program can have only one copy.
- The program runs for a long period of time.
- The icon shows the status.
- The icon can be a source of notifications.
- This is a custom option.
• Use the Minimize button in the application title bar, not the Close button.
Source: https://habr.com/ru/post/166955/
All Articles