Col_Blimp
Col_Blimp

Reputation: 789

ListView set column header states

How do I go about adding the up/down arrows to the column headers that indicate sorted ascending/descending?

enter image description here

Upvotes: 0

Views: 124

Answers (1)

xMRi
xMRi

Reputation: 15355

See HDM_SETITEM and HDMITEM, there is a HDI_ORDER flag and an iOrder field. To get the HWND of the Header Control itself, use LVM_GETHEADER.

Upvotes: 2

Related Questions