A ToolTip is a small, rectangular pop-up window that displays a brief description of the purpose of a command bar button when a user holds the stylus on the button for more than 0.5 seconds. If a user lifts the stylus from the screen while it is still positioned over the button, the button is activated. If a user moves the stylus away from the button before raising the stylus from the screen, the button is not activated. The following screen shot shows a ToolTip.
Windows CE supports ToolTips only for command bar and toolbar buttons and for command bar menus. It does not support ToolTips for the combo boxes in a command bar. To add ToolTips to a command bar, call the CommandBar_AddTooltips function.
The CommandBar_AddtoolTips function does not make a copy of the array of ToolTip strings you pass to it. It directly uses the memory address you pass to it in the lpToolTips parameter. Do not release the memory allocated for this array until the application exits.
To add a ToolTip to a toolbar, use the TB_SETTOOLTIPS message.
ToolTips usually display only the name of a button command, but they can also display the shortcut key for the command.