LImageViewerCell::TagCallBack

Summary

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

Syntax

#include "ltwrappr.h"

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

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

See Also

Functions

Topics

Example

For an example, refer to LImageViewer::Create.

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.