The main window is the primary interface for your application. It displays your HTML pages and allows users to navigate your content. This page explains the options available for customizing its appearance and behavior.
General Properties #
Window Caption #
Sets the text that appears in the window’s title bar. This text is distinct from the application title used by the Windows taskbar and Task Manager.
You can dynamically insert the current HTML document’s title using the %DOCTITLE% variable. For example: My Application - %DOCTITLE%.
Window State and Size #
Initial Window State #
Determines how the window first appears at launch.
- Standard Window: Opens the window with default dimensions.
- Maximized Window: Opens the window maximized to fill the entire screen.
- Custom-Sized Window: Lets you specify a custom width and height for the window on startup.
- The Auto-Sizer button provides a visual way to set these dimensions. It opens a sample window that you can resize; ExeOutput for PHP then automatically populates the width and height fields based on your chosen size.
Note
If “Save Window Position and Size” is enabled, the application saves the window’s last state (maximized or normal). You may need to reset your saved application settings for changes to this option to take effect.
Minimum Window Size #
Sets the minimum allowed height and width for the main window, preventing users from resizing it smaller than these dimensions. Set to 0 to disable constraints.
Window Behavior #
Allow User Resizing #
Determines whether users can resize the main window. Disabling this is not recommended, as it can negatively impact user experience.
Show Maximize Button #
Shows or hides the window’s standard “Maximize” button. This is useful for kiosk-style applications or to prevent a maximized window from being restored to its normal state.
Window Stays on Top #
If enabled, the main window will remain on top of all other application windows.
Pop-ups Stay on Top #
Ensures that pop-up windows always appear on top of the main application window. If disabled, pop-ups may appear behind the main window and will get their own taskbar button.
Save Window Position and Size #
When enabled, the application saves the main window’s size and position when the user closes it. On the next launch, the window is restored to its last known state. This is highly recommended for a better user experience.
- If disabled, the application will always open with the initial state and dimensions defined here.
- To save only the size but not the position, enable this option along with “Always Center Window”.
Always Center Window #
Forces the window to be centered on the primary screen at startup. This overrides any saved position from a previous session.
Warning
This option is not recommended for users with multiple monitors.