Navigation: Create Ebooks And Publications > Designing User Interface > All UI Components >

Tray Icon

 

 

 

 

Instead of having a button in the taskbar, you may prefer your ebook or HTML application to show a small tray icon:

 

 

If so, turn on "Enable Tray Icon". The small icon displayed is the one of the publication EXE file.

 

The tray icon optionally displays a popup menu when end users right-click on the tray icon.

 

Note: in Windows, all tray icons may not always be visible by default. This is a normal behavior and end users can adjust tray icon bar settings to modify it.

 

Warning: when end users minimize the main window to the tray, all secondary windows like pop-ups are always closed and not restored.

 

Default Hint Text

 

This is the text displayed in the hint when hovering over the tray icon.

 

Show Minimized on Start

 

When this option is enabled, the application starts minimized: the main window is not displayed, only its tray icon is visible.

 

The Close button Minimizes the Main Window

 

By default, when you hit the Close system button, the application exits. If you want to avoid your application from exiting, use this option. It will force the main window to minimize to the tray when the close button is hit.

 

In that case, ensure to give end users an option to exit your publication (like a menu command in the tray's popup menu). Otherwise, they will need to end the application manually with the task manager.

 

Always minimize to tray

 

If you enable this option, the main window is always minimized to the tray, not in the taskbar. Otherwise, a taskbar button will appear when the main window is minimized.

 

Edit popup menu

 

Lets you manage the entries for the tray menu. This menu appears when end users right-click on the tray icon. It should at least contain two commands: Restore and Exit. These commands are automatically created by HTML Executable for each new project and it is recommended that you leave them.

 

  Using the menu editor