Skip to content

wv2PermissionState

The host's decision on a permission request. Passed as the ByRef State argument of the PermissionRequested event --- assign one of these values to control whether the page is granted, denied, or left to the runtime's default behaviour. Mirrors the COREWEBVIEW2_PERMISSION_STATE enumeration.

ConstantValueDescription
wv2StateDefault0Let the runtime decide --- typically prompts the user.
wv2StateAllow1Grant the permission silently.
wv2StateDeny2Deny the permission silently.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author