Here's a good start for you. You place to picturebox controls on the form with the up/down arrows, then set the cellpicture for the column header that you're sorting.
I say it's only a start, because you still need to do the sort in the beginning and play with the alignment properties to get the text and picture to look like you want, but his will show you how to put the picture into the cell.
Dim nSortCol As Integer
Dim nSortOrder As Integer
Private Sub MSFlexGrid1_DblClick()
With MSFlexGrid1
If .MouseRow = 0 Then
.Row = 0
'New Col - Remove old pic, sort ascending
If .MouseCol <> nSortCol Then
.Col = nSortCol
Set .CellPicture = Nothing
.Col = .MouseCol
nSortOrder = flexSortGenericAscending
'Same Col - Reverse sort
Else
If nSortOrder = flexSortGenericAscending Then
nSortOrder = flexSortGenericDescending
Else
nSortOrder = flexSortGenericAscending
End If
End If
'Sort column, set picture
.Sort = nSortOrder
If nSortOrder = flexSortGenericAscending Then
Set .CellPicture = picUP.Picture
Else
Set .CellPicture = picDown.Picture
End If
nSortCol = .Col
End If
End With
End Sub