Discussion:
ListView Hittesting
(too old to reply)
Lucky Luke
2003-11-07 14:44:39 UTC
Permalink
Maybe someone kindly can point me to which API function should be called in
order to determine what column was clicked in a listview.

The control is a subclassed one that has been created with DDT .

I have tried different solution found on the net, but nothing seems to work.

TIA!
Michael Mattias
2003-11-07 21:38:33 UTC
Permalink
Post by Lucky Luke
Maybe someone kindly can point me to which API function should be called in
order to determine what column was clicked in a listview.
Process the NM_CLICK notification of the WM_NOTIFY message. lparam is
pointer to NMITEMACTIVATE structure, column number is the iSubItem member of
NMITEMACTIVATE.

MCM
sinewave
2003-11-07 22:48:16 UTC
Permalink
hi Lucky Luke:

FWIW the best resource is the PB forum:
http://www.powerbasic.com/support/forums/search.cgi?action=intro

regards,
phil

Loading...