Forum Discussion

Aaleena's avatar
New Member
2 months ago

Issue with retrieving text from listbox items in desktop win32 application

Hi All,

I have a listbox object type item in my desktop application , which is in a table structure while trying to retrieve the text in the table i am getting error  "Failed to retrieve text, because the items are owner-drawn.The list box is not of the LBS HASSTRINGS style. More information can be found in the MSDN library. The witem, witemList and wSelectedItems methods will return an empty string " in the wSelectedItems property.Any idea how we can fix this issue 


1 Reply

  • rraghvani's avatar
    Champion Level 3

    Do you have a screenshot of the UI control? And a screenshot of the Object Browser together with the properties shown.

    What version of TC are you using?