How can I get the caption of ListBox control.
I have handle to Listbox control.
I tried with following , but it returned empty string
SendMessage(hListBox,WM_GETTEXT,MAX_PATH,(LPARAM)wszCaption);
Any suggestion of how to get the caption associated with ListBox.