BumpBar.DataEvent Event
Notifies the application when status from the bump bar is available.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
WithEvents bumpBar1 As BumpBar
Function bumpBar1_DataEvent(sender As Object, _
e As DataEventArgs) As Void
Handles bumpBar1.DataEvent
End Function
Syntax
'Declaration
Public MustOverride Event DataEvent As DataEventHandler
public abstract event DataEventHandler DataEvent;
public: abstract event DataEventHandler^ DataEvent;
public abstract void add_DataEvent(DataEventHandler handler);
public abstract void remove_DataEvent(DataEventHandler handler);
In JScript, you can handle the events defined by a class, but you cannot define your own.
Remarks
The DataEventArgs.Status property is divided into four bytes. Depending on the Event Type (located in the low word), the remaining two bytes contain additional data.
The high word, low byte contains additional data depending on the event type. When the event type is DataEventKey (replaces BB_DE_KEY), the low byte of the high word contains the logicalKey code for the key pressed on the bump bar unit. The logicalKey value is device independent; it has been translated by the service object from its original hardware specific value. Valid ranges are 0-255.
The high word, high byte value is unused.
The EventUnitId property is updated before delivering the event.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
EventUnitId
DataEventEnabled
FreezeEvents