Home >Tools >NativeWebView >Features demo kalmstrom.com site map icon Site map  

NativeWebView Features Demo

A demo by Peter Kalmström

NativeWebView iconIn 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.
  • -Verbose – shows which engine was used.
Show-NativeWebView -Path page.html -Title 'Status' -Icon icon.png -TopMost -Position 80, 60 -MinWidth 360 -MinHeight 240

More info

Products Buy Services Tips Books Contact About Us Tools

Security and integrity

Copyright  Kalmstrom Enterprises AB  All rights reserved