LVN_ITEMACTIVATE notification code
Sent by a list-view control when the user activates an item. This notification code is sent in the form of a WM_NOTIFY message.
LVN_ITEMACTIVATE #if (_WIN32_IE >= 0x0400) lpnmia = (LPNMITEMACTIVATE)lParam; #else lpnm = (LPNMHDR)lParam; #endif
The application receiving this notification code must return zero.
To obtain the items being activated, the receiving application should use the LVM_GETSELECTEDCOUNT message to retrieve the number of items that are selected and then send the LVM_GETNEXTITEM message with LVNI_SELECTED until all of the items have been retrieved.
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2003 [desktop apps only]