I tried searching, but to no avail as specifying the search query is a bit hard in this case..
Anyway, I have a listbox with dynamic content that's read from a file, along with some inactive edit controls that are supposed to be modified by the application depending on which entry is selected.
I do know how I can use the LB_GETSEL message and so on, but I was wondering how I could know if an entry was selected? I used Spy++ from Visual Studio, but couldn't really get any relevant messages that weren't just generic Mousedown/up.
How can I know if an entry in the listbox was selected so I can retrieve the contents of it?
All help greatly appreciated.