DISPCONTAINERCELLINFO

typedef struct tagDISPCONTAINERCELLINFO
{
   L_UINT uStructSize;
   L_HDC  hDC;
   L_INT nCellIndex;
   L_INT nSubCellIndex;
   RECT  rcRect;
   RECT  rcBitmapRect;
   L_INT nX;
   L_INT nY;
} DISPCONTAINERCELLINFO,   * pDISPCONTAINERCELLINFO;

The DISPCONTAINERCELLINFO structure provides information about the cell.

Member

Description

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() macro to calculate this value.

hDC

Memory DC that is used to paint the cell.

nCellIndex

A zero-based index of the cell that received the painting message.

nSubCellIndex

A zero-based index of the sub-cell.

rcRect

A RECT structure to be updated with the bounding rectangle of the sub-cell.

rcBitmapRect

A RECT structure to be updated with the bitmap view rectangle.

nX

The X offset of the cursor, in pixels.

nY

The Y offset of the cursor, in pixels.

Comments

This structure is sent as a parameter for the following callbacks:

LImageViewer::PrePaintCallBack

LImageViewer::PostPaintCallBack

LImageViewer::MouseCallBack