September 29th, 1999, 05:04 PM
CListCtrl and LVN_ITEMACTIVATE
Does anyone know how to make use of the LVN_ITEMACTIVATE notification?
I've tried several ways: The notification is neither sent to the OnChildNotify() message
handler nor to an explicitely defined message handler like this
ON_NOTIFY(LVN_ITEMACTIVATE, IDC_LISTCTRL, OnItemActivateListCtrl).
Currently I'm catching NM_CLICK and NM_RCLICK notifications. This works ok for
mouse clicks; however I can't handle keyboard inputs since LVN_KEYDOWN messages
are sent to me BEFORE the item changes.
Maybe you have another idea how to catch a change of the currently selected list control item.
I'm a little confused because the LVN_ITEMACTIVATE message is written in the documentation
but seems not to be sent. A little strange, I think...
Thanx for help,
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!