Share via


LineDisplayBase.RefreshWindow Method

2/27/2008

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

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

Syntax

'Declaration
Public Overrides Sub RefreshWindow ( _
    window As Integer _
)
public override void RefreshWindow (
    int window
)
public:
virtual void RefreshWindow (
    int window
) override
public void RefreshWindow (
    int window
)
public override 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.

The LineDisplayBase class ensures that the line display device has been opened, claimed, and enabled.

RefreshWindow may throw a PosControlException with the following ErrorCodes:

Value

Meaning

Illegal

RefreshWindow can’t be called while the device is in Marquee On 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

LineDisplayBase Class
LineDisplayBase Members
Microsoft.PointOfService.BaseServiceObjects Namespace
LineDisplay.RefreshWindow Method