I am building an application that minimizes to tray on the close-button (cross upper right corner). I found two different behaviours for this kind of application now:
- click on the tray icon to bring the application back to front again, and not use a
- use a
ContextMenuwith a "Show Application" option (plus Quit and some control actions).
The first one is obviously the easiest to implement, but what is the way to go for "least surprise" ?