bOk = MTblSetColHdrGrpImage( hWndTbl, nColHdrGrp, nImage, nFlags )

Sets a column header group's image.

Parameters
hWndTbl
Window Handle: Handle of the table

nColHdrGrp
Number: Handle of the column header group

nImage
Number: Image handle returned by one of the MImgLoad functions or 0 to display no image.

nFlags
Number: The image flags.

Return
Boolean: TRUE if successful or FALSE if an error occurs

Example
In this example a colum header group's image is set which is centered horizontal and vertical and has no leading:

Call MTblSetColHdrGrpImage( hWndTbl, nColHdrGrp, nImage, MTSI_ALIGN_HCENTER | MTSI_ALIGN_VCENTER | MTSI_NOLEAD_TOP | MTSI_NOLEAD_LEFT )

Remarks
You have to use handles returned by M!Image functions. Handles returned by VicPicLoad or by API functions can't be used.

See also
Column header groups
Custom Images

Created with the Personal Edition of HelpNDoc: Easy to use tool to create HTML Help files and Help web sites