MTM_QueryBestCellWidth

Messages ›› MTM_Query... ›› MTM_QueryBest... ››
Parent Previous Next

MTM_QueryBestCellWidth

This message is posted when M!Table needs the best width of a cell ( in pixels ).
The best width is needed when
- MTblAutoSizeColumn is called
- MTblPrint is called and fcMTblPrintParams.FitCellSize is TRUE

Parameters
wParam
Handle of the column
lParam
Number of the row

Return
If > 0, M!Table uses this value as best cell width. Otherwise the best width is determined according to the cell contents.

See also
MTM_QueryBestCellHeight
Automatic column sizing
Printing

Created with the Personal Edition of HelpNDoc: Free EBook and documentation generator