Share via


LineDisplay.DestroyWindow Method (POS for .NET v1.12 SDK Documentation)

2/27/2008

Destroys the active window.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Sub DestroyWindow
public abstract void DestroyWindow ()
public:
virtual void DestroyWindow () abstract
public abstract void DestroyWindow ()
public abstract function DestroyWindow ()

Remarks

The characters displayed in its viewport are not changed.

DestroyWindow sets the CurrentWindow property to window 0, the device window. The device window and the associated window properties are updated.

DestroyWindow may cause a PosControlException to be thrown with the following ErrorCode.

Value

Meaning

Illegal

The active window is set to 0, the device window. This window cannot be destroyed.

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.

See Also

Reference

LineDisplay Class
LineDisplay Members
Microsoft.PointOfService Namespace
LineDisplay.CreateWindow Method
CurrentWindow