How could I know when the mouse is over a button on my toolbar.
Like QEditor which display help for button


Posted on 2001-08-22 07:20:26 by (scalp)
if you need to associate a tooltip to every button, have you try to see TBSTYLE_TOOLTIPS ?

from win32 help:

When the toolbar receives a WM_MOUSEMOVE message, it sends a notification message to the tooltip control. The tooltip control sets a timer, and after approximately one second, checks if the cursor is still at the same location and is on a toolbar button. If it is, the tooltip control sends the TTN_NEEDTEXT notification message to the parent window to retrieve the descriptive text for the button.
Posted on 2001-08-22 07:38:07 by Bit7