I have created a combo box in my project which takes a certain amount of numbers from a file. This Combo drops down the list of the numbers each of represents something. That something I want to be displayed in a tooltip when the mouse hovers on the combo box. Until now everything has gone fine. What I want 开发者_开发知识库now is to see the tooltip when the mouse rolls over the list of the dop down combo. How can I do that? Until now the internet didn't give me something to work on it. Is there some one to assist me on that?
Is this the sort of thing you're looking for, where a tooltip appears over a ComboBox item you mouse over?
If so take a look at this article on codeproject.com:
A Windows.Forms.ComboBox with Item ToolTips for 32 bit Windows XP (SP2)
It's VB.NET and currently displays a ComboBox item's text when moused over; I'm sure you can adapt it to your specific needs.
Finally I solved the issue with Combo Box which I mentioned on this question. Of course there is no any solution give it from Microsoft for it, but with a small trick we manage to do what we want to do from one hand, and nobody seams to understand HOW we did it from the other hand. So if anybody wants to see this solution please set a question and I will try to answer immediately. For "bad and worst" please put a comment on this question.
My code is in vb.net.
精彩评论