bOk = MTblSetCellImage( hWndCol, nRow, nImage, nFlags )
Sets a cell's image which is displayed when the row is NOT expanded.
Window Handle: Handle of the column
Number: Row number
Number: Image handle returned by one of the MImgLoad functions or 0 to display no image.
Number: The image flags.
Boolean: TRUE if successful or FALSE if an error occurs
In this example a cell's image is set which is centered horizontal and vertical and has no leading:
Call MTblSetCellImage( hWndCol, nRow, nImage, MTSI_ALIGN_HCENTER | MTSI_ALIGN_VCENTER | MTSI_NOLEAD_TOP | MTSI_NOLEAD_LEFT )
You have to use handles returned by M!Image functions. Handles returned by VicPicLoad or by API functions can't be used.
Created with the Personal Edition of HelpNDoc: Free Kindle producer