From: poy <po...@12...> - 2007-12-03 18:03:32
|
played with some styles to have Windows (Common Controls >= 5.81) handle toolbar tooltips automagically. :) related MSDN doc: BTNS_SHOWTEXT Version 5.81. Specifies that button text should be displayed. All buttons can have text, but only those buttons with the BTNS_SHOWTEXT button style will display it. This button style must be used with the TBSTYLE_LIST style and the TBSTYLE_EX_MIXEDBUTTONS extended style. If you set text for buttons that do not have the BTNS_SHOWTEXT style, the toolbar control will automatically display it as a ToolTip when the cursor hovers over the button. This feature allows your application to avoid handling the TBN_GETINFOTIP notification for the toolbar. poy |