How to: Expose Tooltips (Devices)

Each button tag in the Skin Definition File can include a line for ToolTips. Hovering over a hotspot on the skin pops up a ToolTip, if one has been assigned, that shows information about the feature represented by the hotspot. The hotspot is typically a button, for example, Soft Key 1. The ToolTip shows the name of the button as specified in the ToolTip element in the Skin Definition File.

Note

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To expose ToolTips on the skin

  1. In a button tag in the Skin Definition File, assign a color value to mappingColor.

    The following example is from the Pocket PC 2003 Skin Definition File:

    <button
        toolTip="Soft Key 1"
        onClick="DOWN:0x5b 0x70 UP:0x5b"
        mappingColor="0xF26C4F"
    />
    
  2. Assign a text string for toolTip.

    If you hover over the button that has the color 0xF26C4F, a ToolTip with the text Soft Key 1 is displayed.

See Also

Other Resources

Customizing Skins (Devices)