L_DispContainerRepaintCell

#include "ltivw.h"

L_LTIVW_API L_INT L_DispContainerRepaintCell(hCon, hWnd, nCellIndex, uFlags)

HDISPCONTAINER hCon;

/* handle to the container */

HWND hWnd;

/* window handle */

L_INT nCellIndex;

/* index of a cell */

L_UINT uFlags;

/* reserved for future use */

Repaints the cell(s) along with all its features (rulers, tags, borders, annotationsetc). This function is available only in the Medical Imaging Suite toolkits.

Parameter

Description

hCon

Handle to the container.

hWnd

Handle to the window intended to repaint.

nCellIndex

A zero-based index of the cell intended to repaint. Pass -1 to repaint all the cells. Pass -2 to repaint the selected cells.

uFlags

Reserved for future use. Pass 0.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The value of nCellIndex parameter will be ignored if value of hWnd parameter passed as !NULL.

If the user wants to repaint all/selected cells, he should pass the NULL to the hWnd parameter.

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:

DISPCONTAINERPAINTCALLBACK, L_DispContainerGetPaintCallBack, L_DispContainerSetPaintCallBack.

Topics:

Image Viewer Cells

Image Viewer Functions: Image Viewer Cells

Example

For an example, refer to L_DispContainerAnnToRgn