The OpenFin Window API
OpenFin’s Windowing API offers granular control over the creation, positioning, minimization, maximization and a host of other properties, across multiple monitors, allowing you create rich desktop applications. The full API may be found here.
Draggable Regions
This example shows how to implement draggable regions on frameless windows and how to avoid some of the pitfalls which may arise from the draggable region’s prevention of standard mouse events.
https://github.com/openfin/openfin-examples-windowing/tree/master/app-region-drag-mouse-events
Closing Events and Child Windows
OpenFin allows the creation of two types of window – child windows and applications. This example demonstrates the differences between the two and how closing of parent and child windows may be controlled.
https://github.com/openfin/openfin-examples-windowing/tree/master/closing-events-child-windows
Snapping and Docking
If you wish to implement window docking we have produced a library which may be used as-is or modified for specific behaviour at https://github.com/openfin/snap-and-dock
An annotated implementation of the Snap and Dock library may be found here: https://github.com/openfin/openfin-examples-windowing/tree/master/openfin-windowdocking
Tear-out Windows
OpenFin allows elements to be apparently ‘torn out’ of one window and placed on the desktop or dropped into another window. This example shows how the effect may be achieved.
https://github.com/openfin/openfin-examples-windowing/tree/master/tear-out-windows
Alpha Transparency
NB: this a a Beta feature. It is possible to set a specific colour to be an alpha channel allowing transparent windows.
https://github.com/openfin/openfin-examples-windowing/tree/master/window-alpha-beta