Hi Sadiq,
The ComboBox control doesn't support the function you want, so we have to implement is by ourselves.
First of all, the drop down window of a ComboBox is a separate window from the ComboBox. Whenwe move the mouse in the drop down window, the ComboBox won't receive any Windows message. So we need to get the drop down window first and then capture the Windows messages the drop down window receives by replacing the default window procedure with our own procedure.
Once we get notified that the user moves the mouse, we can show the Tooltip for the lighlighted item.
Hope this helps.
Sincerely, Linda Liu Please remember to mark the replies as answers if they help and unmark them if they provide no help.
end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.- Marked As Answer byLinda LiuMSFT, ModeratorFriday, June 12, 2009 6:55 AM
-
|