MTblGetColSelChanges
nCount = MTblGetColSelChanges( hWndTbl, hWndaCols[*], baChanges[*] )
Gets the column selection changes.
Parameters
hWndTbl
Window Handle: Handle of the table
hWndaCols[*]
Array of Window Handle: Contains the columns whose selection has changed if the function returns successfully
baChangesColors[*]
Array of Boolean: Contains the column's selection change ( TRUE = selected, FALSE = deselected ) if the function returns successfully
Return
Number: Number of columns whose selection changed
Example
In this example we ensure that the header texts of the selected columns are bold:
On MTM_ColSelChanged
Set nCount = MTblGetColSelChanges( hWndTbl, hWndaCols, baChanges )
While n < nCount
If baChanges[n]
Set nFontEnh = FONT_EnhBold
Else
Set nFontEnh = MTBL_FONT_UNDEF_ENH
Call MTblSetColumnHeaderFont( hWndaCols[n], MTBL_FONT_UNDEF_NAME, MTBL_FONT_UNDEF_SIZE, nFontEnh )
Set n = n + 1
Remarks
Call this function only on MTM_ColSelChanged!
See also
Extended selections
Created with the Personal Edition of HelpNDoc: Keep Your PDFs Safe from Unauthorized Access with These Security Measures