L_DispContainerGetMouseCallBack

#include "l_bitmap.h"

L_LTIVW_API L_INT EXT_FUNCTION L_DispContainerGetMouseCallBack(hCellWnd, ppfnCallBack, ppUserData)

Gets the current action callback function along with the user data, which were set using the L_DispContainerSetMouseCallBack function.

Parameters

L_HWND hCellWnd

A handle to the window that represents the cell on which the function's effect will be applied.

DISPCONTAINERMOUSECALLBACK * ppfnCallBack

Pointer to a pointer to a callback function to be updated with the last action callback function set using the L_DispContainerSetMouseCallBack function.

LPVOID * ppUserData

Void pointer to be updated with the value of user defined data associated with the tag callback. If you are not interested in the user-defined data, pass NULL for this parameter.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

This function is similar to L_DispContainerGetActionCallBack but with more information provided, like the mouse position. cell index, sub-cell index, rectangle that contains the sub-cell, and a rectangle that contains the bitmap display rectangle.

Required DLLs and Libraries

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

LEADTOOLS Medical Image Viewer C API Help