I have a listview control (in a dialog box) and I've changed the LVS_EX_HEADERDRAGDROP style
so that the user can reorder the columns by dragging and dropping the headers. It works fine but I have three problems:

1. After the user has reordered a column, I need to be notified somehow. How?

2. If the user moves the first column to another location, a white vertical bar gets drawn after the new first column.

3. You know how when you type a letter, it searches for the next matching item based on the first column? Well, when you reorder the columns and make a different column the first one, the typing is still used to search in the original column, instead of the new first one.

I really appreciate your help me solve these issues.