LImageViewerCell::MouseCallBack

Summary

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

Syntax

#include "ltwrappr.h"

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

Parameters

HWND hCellWnd

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

L_UINT uMessage

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

pDISPCONTAINERCELLINFO pCellInfo

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

Returns

Value Meaning
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

See Also

Functions

Topics

Example

For an example, refer to LImageViewerCell::FlipAnnotationContainer.

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Medical Image Viewer C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.