forked from ClearFoundry/ClearScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIHostWindow.cs
More file actions
25 lines (22 loc) · 840 Bytes
/
IHostWindow.cs
File metadata and controls
25 lines (22 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
namespace Microsoft.ClearScript.Windows
{
/// <summary>
/// Allows Windows Script engines to display dialogs within the host's user interface.
/// </summary>
/// <c><seealso cref="Core.WindowsScriptEngine.HostWindow"/></c>
public interface IHostWindow
{
/// <summary>
/// Gets the handle of an owner window for displaying dialogs on behalf of script code.
/// </summary>
IntPtr OwnerHandle { get; }
/// <summary>
/// Enables or disables the host's modeless dialogs.
/// </summary>
/// <param name="enable"><c>True</c> to enable the host's modeless dialogs, <c>false</c> otherwise.</param>
void EnableModeless(bool enable);
}
}