I have made a Dialog based application, which includes a CListCtrl. I want to handle, when the user presses the return button, while having an item in the listbox selected.
I have done this by handling the NM_RETURN from the ClistCtrl, in the dialog, but the function that handles the NM_RETURN is never called.
The only thing that happens, is that the dialog ends, because the dialog receives the IDOK when I press ENTER, even when the CListCtrl has the focus and an item is selected...
Does anyone know, if I need to do some special handling ?