visit Kofax web site

ACTIVESWLib::_ISPGuiContainerEvents Interface Reference


Detailed Description

Interface _ISPGuiContainerEvents.

Acquire callback events

Note:
Registered event listeners persistence is bound to the lifetime of the associated ISPGuiContainer object, independent of the native object.


Public Member Functions

long buttonPressed ([in] long lIndex,[in] long lId)
 notification a button was pressed in a SPGuiContainer object
long documentEvent ([in] long lIndex,[in] long lDocumentID,[in] long lRectID)
 notification a virtual button on a document was clicked
long rectPressed ([in] long lIndex,[in] long lId)
 notification a rect was pressed in a SPGuiContainer object
long statusChanged ([in] long lIndex,[in] long lMajor,[in] long lDetail)
 notification the hardware status of the connected tablet changed, please read tablet status change notifications for more details.
long tabletVector ([in] long lIndex,[in] long lX,[in] long lY,[in] long lP,[in] long lT)
 notification a vector was passed from the tablet
long timeout ([in] long lIndex)
 notification a timeout has occured in a SPGuiContainer object


Member Function Documentation

long ACTIVESWLib::_ISPGuiContainerEvents::buttonPressed [in] long  lIndex,
[in] long  lId
 

notification a button was pressed in a SPGuiContainer object

Parameters:
lIndex [i] zero based index of the object that caused the event
lId Identifier of the button. The value depends on the tablet, see Tablet Hardware button Assignment
Returns:
SPX_NOERR on success, else error code
See also:
SPGuiContainerSetButtonListener

long ACTIVESWLib::_ISPGuiContainerEvents::documentEvent [in] long  lIndex,
[in] long  lDocumentID,
[in] long  lRectID
 

notification a virtual button on a document was clicked

Parameters:
lIndex [i] zero based index of the object that caused the event
lDocumentID [i] identifier of the document
lRectID [i] identifier of the virtual button within the document
Returns:
SPX_NOERR on success, else error code
See also:
SPGuiAcquSetDocumntListener

long ACTIVESWLib::_ISPGuiContainerEvents::rectPressed [in] long  lIndex,
[in] long  lId
 

notification a rect was pressed in a SPGuiContainer object

Parameters:
lIndex [i] zero based index of the object that caused the event
lId Identifier of the rect
Returns:
SPX_NOERR on success, else error code
See also:
ISPGuiContainer::RegisterRect

long ACTIVESWLib::_ISPGuiContainerEvents::statusChanged [in] long  lIndex,
[in] long  lMajor,
[in] long  lDetail
 

notification the hardware status of the connected tablet changed, please read tablet status change notifications for more details.

Parameters:
lIndex [i] zero based index of the object that caused the event
lMajor [i] Major event descriptor
lDetail [i] Detail event descriptor
Returns:
SPX_NOERR on success, else error code
See also:
SPGuiContainerSetStatusListener

long ACTIVESWLib::_ISPGuiContainerEvents::tabletVector [in] long  lIndex,
[in] long  lX,
[in] long  lY,
[in] long  lP,
[in] long  lT
 

notification a vector was passed from the tablet

Note:
Tablet vectors are handled by SPGuiContainer objects, the application will typically ignore vector notifications.
Parameters:
lIndex [i] zero based index of the object that caused the event
lX [i] X-coordinate
lY [i] Y-coordinate
lP [i] pressure level
lT [i] timestamp, may be -1 if not measured
Returns:
SPX_NOERR on success, else error code
See also:
SPGuiAcquVectorListener

long ACTIVESWLib::_ISPGuiContainerEvents::timeout [in] long  lIndex  ) 
 

notification a timeout has occured in a SPGuiContainer object

Parameters:
lIndex [i] zero based index of the object that caused the event
Returns:
SPX_NOERR on success, else error code
See also:
ISPGuiContainer::SetTimeout


The documentation for this interface was generated from the following file: