On Sat, Jan 26, 2013 at 9:00 AM, Staffan Tylen <staffan.tylen@gmail.com> wrote:

I believe the ToolTip class is complete, so there should be no reason why you can not create and manage your own tool tip for a combo box.

In one of the examples for tool tips, I created and managed my own tool tip completely independent of the list-view.  That is, it does not use the list-view's tool tip.  One of the intents their was to sure that it is possible to do any thing you want with a tool tip.  Just takes some work.  ;-)


That sounds good enough for me, thanks!

If you run into some problems, then just post.  It occurred to me that there may be a problem because a combo box is made up of other controls.  An edit control and a list-box for simple and drop-down combo boxes, a combo box and a list box for drop down list combo boxes.

I recently added a method to get the edit control of a combo box, and a method to get both of the controls.

ComboBox:getEditControl()

ComboBox:getComboBoxInfo()

Without those 2 methods, using tool tips with a combo box might not work well.  With those methods I believe any problem could be worked out.

The getComboBoxInfo() method also supplies the bounding rectangles for the pieces of a combo box, so I think you will need that method.  These methods are documented in the latest doc.  Recall, that you can almost always get the latest doc from the build machine.  (I saw almost always because it is sometimes down.)

--
Mark Miesfeld