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.

Members

uStructSize

Size of this structure in bytes, for versioning. Use the sizeof() operator 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:

DISPCONTAINERPREPAINTCALLBACK

DISPCONTAINERPOSTPAINTCALLBACK

DISPCONTAINERMOUSECALLBACK

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Medical Image Viewer C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.