LImageViewerCell::MouseCallBack

#include "ltwrappr.h"

virtual L_INT LImageViewerCell::MouseCallBack(hCellWnd, uMessage, pCellInfo)

HWND hCellWnd;

/* handle to the cell window */

L_UINT uMessage;

/* message */

pDISPCONTAINERCELLINFO pCellInfo;

/* pointer to a cell information structure */

This callback function is called every time the user makes an action with the mouse.

Parameter

Description

hCellWnd

A handle to the window that represents the Medical Viewer Cell.

uMessage

Value that represents the message from the mouse. Possible values are:

WM_LBUTTONDOWN

WM_LBUTTONUP

WM_MBUTTONDOWN

WM_MBUTTONUP

WM_XBUTTONDOWN

WM_XBUTTONUP

WM_MOUSEMOVE

WM_RBUTTONDOWN

WM_RBUTTONUP

WM_LBUTTONDBLCLK

WM_RBUTTONDBLCLK

WM_MBUTTONDBLCLK

WM_XBUTTONDBLCLK

pCellInfo

Pointer to the DISPCONTAINERCELLINFO information structure to be updated with the cell information.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

In order to use this callback function, it must first be set by calling the LImageViewerCell::EnableMouseCallBack function.

Required DLLs and Libraries

LTIVW

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LImageViewerCell::EnableLowMemoryUsageCallBack, LImageViewerCell::LowMemoryUsageCallBack, LImageViewerCell::RegionCallBack, LImageViewerCell::EnableRegionCallBack, LImageViewerCell::EnableMouseCallBack, LImageViewerCell::ActionCallBack, LImageViewerCell::TagCallBack, LImageViewerCell::EnableTagCallBack, LImageViewerCell::EnableAnnotationCallBack, LImageViewerCell::EnableAnnotationCreatedCallBack, LImageViewerCell::PrePaintCallBack, LImageViewerCell::EnablePrePaintCallBack, LImageViewerCell::EnablePostPaintCallBack, LImageViewerCell::PostPaintCallBack, Class Members

Topics:

Image Viewer Cells

 

Image Viewer Functions: Callbacks

 

Image Viewer Functions: Image Viewer Cells

Example

For an example, refer to LImageViewerCell::FlipAnnotationContainer.