This callback function is called every time the user makes an action with the mouse.
#include "ltwrappr.h"
virtual L_INT LImageViewerCell::MouseCallBack(hCellWnd, uMessage, pCellInfo)
A handle to the window that represents the Medical Viewer Cell.
Value that represents the message from the mouse. Possible values are:WM_LBUTTONDOWNWM_LBUTTONUPWM_MBUTTONDOWNWM_MBUTTONUPWM_XBUTTONDOWNWM_XBUTTONUPWM_MOUSEMOVEWM_RBUTTONDOWNWM_RBUTTONUPWM_LBUTTONDBLCLKWM_RBUTTONDBLCLKWM_MBUTTONDBLCLKWM_XBUTTONDBLCLK
Pointer to the DISPCONTAINERCELLINFO information structure to be updated with the cell information.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
In order to use this callback function, it must first be set by calling the LImageViewerCell::EnableMouseCallBack function.
For an example, refer to LImageViewerCell::FlipAnnotationContainer.