Use this function to get an array of currently visible columns.
function GetVisibleColumns: TColumnArray; deprecated;
Returns an array of TShColumnIds of the currently visible columns.
JamControls.TJamBaseShellListView