In
this demo Peter Kalmström shows more of NativeWebView:
the page asks the script and gets an answer with kHost.call,
a wizard returns its values with kHost.close,
and a window gets its own icon, a fixed position, a minimum
size and a place on top of other windows.
The calls
are explained step by step on the
Manual page.
Window options
The window can be adjusted with parameters:
-Icon – an .ico or .png file
for the window.
-MinWidth and -MinHeight –
the smallest size the user can drag the window to.
-NoResize – the window keeps
its size.
-Maximized – the window opens
maximized.
-TopMost – the window stays on
top of other windows.
-Position 100, 80 – where the
window opens on the screen.
-Engine – forces a web engine,
for example -Engine BrowserApp for an Edge
or Chrome app window.