When I click within a list control, suppose there is an event OnClick fired. In my program, I catch OnClick event by processing the message NM_Click, i.e. ,
Code:
ON_NOTIFY_REFLECT_EX(NM_CLICK, OnClick)
However, whenever I click within the list control first time, this event won't be fired. This event is always fired when I click within the list control second time! Any guru here can explain why? Thanks for your inputs.