A customer noticed that when the user hovered over their application name in the Start menu, the infotip that pops up includes their product name:
Contoso Professional Music Studio De…
|◕||Fabrikam Chart 2.0|
… but no other program on the Start menu included the product name in the description:
Fabrikam Chart 2.0
|♫||Contoso Professional Music Studio De…|
The customer compared their shortcut with the other ones but couldn’t find anything that was telling Explorer, “Include the program name in the pop-up infotip, please.”
Because the reason for the name being included in the infotip had nothing to do with the properties stored in the shortcut. The reason the name was included in the infotip is that the name was being truncated in the main display.
When an infotip is about to be displayed for a listview item, the listview sends a
LVN_ notification with a
NMLVGETINFOTIP structure. If the
LVGIT_ flag is not set, then the infotip is being displayed for a truncated item, and the
pszText is pre-filled with the full name. The program should then append its information to the existing text so that the full name is the first line of the infotip. On the other hand, if the
LVGIT_ flag is set, then the item text is fully-visible and you should just copy your desired description text into the
The customer was happy to get this information. Their designer wanted only the description to appear in the infotip, and now they know that they need to shorten the program name to make the name disappear from the infotip.