Share via


LineDisplay.RefreshWindow Method

2/27/2008

Changes the active window to the one specified by the window parameter, then redisplays that window’s viewport.

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

Syntax

'Declaration
Public MustOverride Sub RefreshWindow ( _
    window As Integer _
)
public abstract void RefreshWindow (
    int window
)
public:
virtual void RefreshWindow (
    int window
) abstract
public abstract void RefreshWindow (
    int window
)
public abstract function RefreshWindow (
    window : int
)

Parameters

  • window
    Specifies the window to be refreshed.

Remarks

Neither the mapping of the window to its viewport nor the window’s cursor position is changed.

RefreshWindow can be used to restore a window after another window has overwritten some of its viewport.

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

Value

Meaning

Illegal

One of the following conditions has occurred:

  • The specified window is larger than the value of the DeviceWindows property.

  • The window has not been created.

  • The window is in Marquee On mode, and RefreshWindow cannot be called while the device is in this mode.

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
DeviceWindows