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,
Torsten
Re: CListCtrl and LVN_ITEMACTIVATE
Also interested in the answer to this post (even 13 yrs later!). Bump!
Re: CListCtrl and LVN_ITEMACTIVATE
Try LVN_ITEMCHANGED or LVN_ITEMCHANGING instead.
Re: CListCtrl and LVN_ITEMACTIVATE
Quote:
Originally Posted by
David Carr
Also interested in the answer to this post (even 13 yrs later!). Bump!
And why do you need to handle this notification?
BTW, AFAIK this notification is sent only if LVS_EX_ONECLICKACTIVATE style was set.