WebApplicationAdapter.OnNewWindow Method

Creates a new browser window. It permits the application to cancel or allow the NewWindow operation.

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As WebApplicationAdapter
Dim newUrlString As String
Dim fromUrlString As String
Dim flags As Long
Dim returnValue As Boolean

returnValue = instance.OnNewWindow(newUrlString, fromUrlString, flags)

Syntax

'Declaration
Public Overridable Function OnNewWindow ( _
    newUrlString As String, _
    fromUrlString As String, _
    flags As Long _
) As Boolean
public virtual bool OnNewWindow (
    string newUrlString,
    string fromUrlString,
    long flags
)
public:
virtual bool OnNewWindow (
    String^ newUrlString, 
    String^ fromUrlString, 
    long long flags
)
public boolean OnNewWindow (
    String newUrlString, 
    String fromUrlString, 
    long flags
)
public function OnNewWindow (
    newUrlString : String, 
    fromUrlString : String, 
    flags : long
) : boolean

Parameters

  • newUrlString
    Specifies the new window's initial address.
  • fromUrlString
    Specifies the URL that’s trying to create a new window.
  • flags
    Specifies a bitmask that indicates how and why this window is being created.

Return Value

Type: Boolean
true to allow NewWindow operation; otherwise, false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

WebApplicationAdapter Class
WebApplicationAdapter Members
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.