title: Error in setting tooltip of ListBox Items
body: <p>I want to set the tooltip for items present in the List Box when they are hovered over. I am using the following code from this question : <a href="https://stackoverflow.com/questions/192584/how-can-i-set-different-tooltip-text-for-each-item-in-a-listbox">How can I set different Tooltip text for each item in a listbox?</a></p>
  
  <pre><code>    private ITypeOfObjectsBoundToListBox DetermineHoveredItem()
  {
      Point screenPosition = ListBox.MousePosition;
      Point listBoxClientAreaPosition = listBox.PointToClient(screenPosition);
  
      int hoveredIndex = listBox.IndexFromPoint(listBoxClientAreaPosition);
      if (hoveredIndex != -1)
          return listBox.Items[hoveredIndex] as ITypeOfObjectsBoundToListBox;
      else
          return null;        
  }
  </code></pre>
  
  <p>The hovered index is always -1 and as a result I am getting null. Any suggestions..</p>