nCurrentlyLocked = MTblQueryLockedColumns( hWndTbl )

Retrieves the number of currently locked columns.

Parameters
hWndTbl
Window Handle: Handle of the table

Return
Number: Number of columns if successful or negative if an error occurs

Example

Set nCurrentlyLocked = MTblQueryLockedColumns( hWndTbl ) 

Remarks
In opposite to SalTblQueryLockedColumns, which simply gives you the value which was set with SalTblSetLockedColumns, this function gives you the number of currently locked columns. The number of currently locked columns is different to the number of locked columns when the visible locked columns together are wider than the client area of the table.

Created with the Personal Edition of HelpNDoc: Free Kindle producer