1) Use the ColumnClick event, which is more suitable in most cases.
2) Check whether the hitTestDetails parameter has the hhtDivider flag set:
Code: Select all
If (hitTestDetails And hhtDivider) = 0 Then
' process click
Else
' ignore click
End If
TiKu