fcMTblODI

Information about an ownerdrawn item.

Instance Variables
Type
Number: One of the following types:

MTBL_ODI_CELL

The ownerdrawn item is a cell

MTBL_ODI_COLHDR

The ownerdrawn item is a column header

MTBL_ODI_COLHDRGRP

The ownerdrawn item is a column header group

MTBL_ODI_ROWHDR

The ownerdrawn item is a row header

MTBL_ODI_CORNER

The ownerdrawn item is the corner

HWndParam
Window Handle: Item to draw, depends on Type:

Type

HWndParam is...

MTBL_ODI_CELL

Column handle

MTBL_ODI_COLHDR

Column handle

MTBL_ODI_COLHDRGRP

hWndNULL

MTBL_ODI_ROWHDR

hWndNULL

MTBL_ODI_CORNER

hWndNULL

NParam
Number: Item to draw, depends on Type:

Type

NParam is...

MTBL_ODI_CELL

Row number

MTBL_ODI_COLHDR

TBL_Error

MTBL_ODI_COLHDRGRP

Column header group ID

MTBL_ODI_ROWHDR

Row number

MTBL_ODI_CORNER

TBL_Error


HWndPart
Window Handle: Part of the item to draw, depends on Type:

Type

HWndPart is...

MTBL_ODI_CELL

Column handle

MTBL_ODI_COLHDR

Column handle

MTBL_ODI_COLHDRGRP

Column handle

MTBL_ODI_ROWHDR

hWndNULL

MTBL_ODI_CORNER

hWndNULL

NPart
Number: Part of the item to draw, depends on Type:

Type

NPart is...

MTBL_ODI_CELL

Row number

MTBL_ODI_COLHDR

TBL_Error

MTBL_ODI_COLHDRGRP

Column header group ID

MTBL_ODI_ROWHDR

Row number

MTBL_ODI_CORNER

TBL_Error

DC
Number: The device context

Left, Top, Right, Bottom
Number: The rectangle of the ownerdrawn item without column and/or row lines

Selected
Boolean: TRUE if the item is selected ( always FALSE when printing )

XLeading
Number: Horizontal text offset

YLeading
Number: Vertical text offset

Printing
Boolean: TRUE if the item must be drawn while printing

YResFactor
Number: The vertical resolution factor

XResFactor
Number: The horizontal resolution factor

See also
Ownerdrawn items

Created with the Personal Edition of HelpNDoc: Create iPhone web-based documentation