PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Shawn Anderson on July 27, 2012, 02:04:33 PM

Title: capture listview header click
Post by: Shawn Anderson on July 27, 2012, 02:04:33 PM
I want to sort my listview when the user clicks on the header.
I know about the listview sort command.
How do I capture the mouse click?
Title: Re: capture listview header click
Post by: Rolf Brandt on July 27, 2012, 02:26:51 PM
You do that in Function FORM1_LISTVIEW1_LVN_COLUMNCLICK.

Jean-Pierre Leroy has a nice example here:

http://www.planetsquires.com/protect/forum/index.php?topic=2026.msg19052

Rolf

Title: Re: capture listview header click
Post by: Shawn Anderson on July 27, 2012, 02:53:54 PM
Just what I needed, thank you.