Header menu logo Fittings

WindowOnNewThread Module

A module to creates a WPF window on a new STA thread. Returns the window and the associated SynchronizationContext call BeginInvokeShutdown on thread when window is closed

Functions and values

Function or value Description

WindowOnNewThread.show createWindow

Full Usage: WindowOnNewThread.show createWindow

Parameters:
    createWindow : unit -> Window

Returns: Window * SynchronizationContext

Creates a WPF window on a new STA thread. Returns the window and the associated SynchronizationContext call BeginInvokeShutdown on thread when window is closed

createWindow : unit -> Window
Returns: Window * SynchronizationContext

Type something to start searching.