Image flags

Image flags

Appendix ››
Parent Previous Next

Image flags

Redraw

MTSI_REDRAW

Redraws the corresponding part of the table

Horizontal alignment

MTSI_ALIGN_HCENTER

The horizontal image alignment is centered

MTSI_ALIGN_LEFT

The horizontal image alignment is left ( default )

MTSI_ALIGN_RIGHT

The horizontal image alignment is right

Vertical alignment

MTSI_ALIGN_BOTTOM

The vertical image alignment is bottom

MTSI_ALIGN_TOP

The vertical image alignment is top

MTSI_ALIGN_VCENTER

The vertical image alignment is centered

MTSI_ALIGN_VTEXT

The vertical image alignment is centered to the first text line ( default )

Tile

MTSI_ALIGN_TILE

The image is tiled

Leading

MTSI_NOLEAD_LEFT

The image has no left leading

MTSI_NOLEAD_TOP

The image has no top leading

Extended Selection

MTSI_NOSELINV

The image will not be inverted when it's part of a selected item

Text adjustment

MTSI_NOTEXTADJ

The text is not adjusted because of the image


Along with the MTblSet*Image* functions, please note the following:
- You may set any combination of redraw and leading flags
- You may set either the MTSI_ALIGN_TILE flag or exactly one horizontal and one vertical alignment flag
- Along with MTblSetRowFlagImage, you may use MTSI_REDRAW and MTSI_NOSELINV only
- Along with MTblSetNodeImages, you may use MTSI_REDRAW only
- The flag MTSI_NOSELINV has no effect for corner images because the corner can't be selected
- The flags MTSI_NOTEXTADJ has only effect for cell images

Along with the MTblQuery*Image*Flags functions, please note the following:
- You can't query redraw flags, because they're not permanent
- You can't query the default flags, because their value is 0

See also
Custom images

Created with the Personal Edition of HelpNDoc: Free Kindle producer