I'm not sure if this page is still supported but this is EXACTLY what I want to do but I'm getting an error in the function CTooltipComboBox::PreSubclassWindow where CreateEx is called to create the ListCtrl...
it's a breakpoint exception error... never seen that one...
I'm not sure what's wrong but could you help me?
I added the four files into my project,but when I move the mouse over the item of Combo box,there was no any tooltips
displaying.Could you share an example project or tell me how to correct it?
Thank you very much!
I want to display the tooltip for all the items the user browses through in the Combo box. Which control Message i should handle to do this. The SelChange event displays tooltip only for the preselected item in the combo box.
Very nice control. I like what it does, but I have a question (problem). When I attempted to replace some existing CComboBox controls with the CTooltipComboBox, I found an unexpected side affect---I no longer got a CBN_SELCHANGE notification. I was using that message to trigger updates based on the current selection in the ComboBox. Any ideas?
Also...when I defined multiple comboboxes on the same dialog and tried to get the Tooltip for the closed comboBox, I got inconsistent results. A call was always made to OnToolHitTest() for each defined combobox, but only one combobox would generate a call to OnToolTipText() (ie I wasn't getting a TTN_NEEDTEXTA message). Whichever combobox I accessed first, was the only one that worked after that. Any ideas?
It is a great control, and I would really love to use it.