LImageViewerCell::TagCallBack

#include "ltwrappr.h"

virtual L_INT LImageViewerCell::TagCallBack (hCellWnd, nCellIndex, hDC, lpRect);

This callback function is called before the window control paints a cell that contains an owner draw tag.

Parameters

HWND hCellWnd

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

L_INT nCellIndex

Index of the cell, which has the owner draw tag.

HDC hDC

Memory DC that is used to paint the cell.

RECT * lpRect

Pointer to a RECT structure that contains the area of the owner draw tag in the Memory DC.

Returns

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

Comments

When the window control paints a cell that contains an "owner draw" tag, this callback function is called to allow the user to draw a custom tag. This callback function is only called however, if it has been set by calling LImageViewerCell::EnableTagCallBack.

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++ Class Library Help