Scheduler.SetInterfaceMode(Boolean, IntPtr) Method

Definition

Specifies whether the calling application is a console or Windows application.

public void SetInterfaceMode (bool isConsole, IntPtr hwnd);
abstract member SetInterfaceMode : bool * nativeint -> unit
override this.SetInterfaceMode : bool * nativeint -> unit
Public Sub SetInterfaceMode (isConsole As Boolean, hwnd As IntPtr)

Parameters

isConsole
Boolean

Set to true if the calling application is a console application: otherwise, false.

hwnd
IntPtr

nativeint

The window handle to the parent window if the application is a Windows application. The handled is ignored if isConsole is true.

Implements

Applies to