LImageViewer::MouseCallBack

#include "ltwrappr.h"

virtual L_INT LImageViewer::MouseCallBack(uMessage, pCellInfo)

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

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 LImageViewer::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:

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

Topics:

Image Viewer Cells

 

Image Viewer Functions: Callbacks

 

Image Viewer Functions: Image Viewer Cells

Example

For an example, refer to LImageViewer::FlipAnnotationContainer.