This is driving me crazy. Is there a way to find out which item is selected in a list view. I've tried heaps of things but I can't seem to get anything to work. This is how I've declared it:

Code:
hList = CreateWindow( WC_LISTVIEW, "", WS_VISIBLE | WS_CHILD | WS_BORDER | LVS_REPORT | LVS_SINGLESEL, 0, 20, 215, 200, hWindow, (HMENU)0, GetInstance(), NULL );
As you can see, I only want one selected at a time and I want a UINT to tell me which one it is.

Thanks.