Click to See Complete Forum and Search --> : how to capture dbclick in listview control


James James
August 9th, 2000, 02:29 PM
Hi,

I am doing Win SDK program.
and I use a listview to show a database table.
and try to implement in place edit but since listivew only allow user to edit item(first column) so I need to add some feature to this control. I try to capture the dbclick message sent to listview but failed, seems it already parsed by listview control and not leave for parent window to process. what should I do now?

Thanks a lot!

hfr
August 10th, 2000, 04:58 AM
Hi,

ensure that your window class has the bit CS_DBLCLKS set.

CS_DBLCLKS: Sends a double-click message to the window procedure when the user double-clicks the mouse while the cursor is within a window belonging to the class.

hfr