BExplorer.Shell.ShellView.UpdateColsInView C# (CSharp) Method

UpdateColsInView() private method

private UpdateColsInView ( Boolean isDetails = false ) : void
isDetails Boolean
return void
    private void UpdateColsInView(Boolean isDetails = false) {
      IntPtr headerhandle = User32.SendMessage(this.LVHandle, MSG.LVM_GETHEADER, 0, 0);
      foreach (var col in this.Collumns.ToArray()) {
        var colIndex = this.Collumns.IndexOf(col);
        var colNative = col.ToNativeColumn(isDetails);
        User32.SendMessage(this.LVHandle, MSG.LVM_SETCOLUMN, colIndex, ref colNative);
        col.SetSplitButton(headerhandle, colIndex);
        if (col.ID == this.LastSortedColumnId) {
          this.SetSortIcon(colIndex, this.LastSortOrder);
        }
      }
    }
ShellView