LImageViewer::RepaintCell

#include "ltwrappr.h"

L_INT LImageViewer::RepaintCell(hWnd, nCellIndex, uFlags)

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, annotations, etc).

Parameter

Description

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:

LImageViewer::EnablePaintCallBack, LImageViewer::PaintCallBack.

Topics:

Window Control/Image Viewer Functions: Image Viewer Cells

 

Image Viewer Cells

Example

For an example, refer to LImageViewer::AnnToRgn.