TVN_SETDISPINFO notification code
Notifies a tree-view control's parent window that it must update the information it maintains about an item. This notification code is sent in the form of a WM_NOTIFY message.
Pointer to an NMTVDISPINFO structure that describes the item being updated. The hItem member of the TVITEM structure specifies the item being updated, and the mask member specifies which attributes of the item are being updated.
The return value is ignored.
If the pszText member of the item's TVITEM structure is the LPSTR_TEXTCALLBACK value, the control sends this notification to set the item's text. In this case, the mask member of lParam will have the TVIF_TEXT flag set.
If the iImage or iSelectedImage member of the item's TVITEM structure is the I_IMAGECALLBACK value, the control sends this notification to retrieve the index of the icon image to display. In this case, the mask member of lParam will have the TVIF_IMAGE or TVIF_SELECTEDIMAGE flag set.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
Unicode and ANSI names
|TVN_SETDISPINFOW (Unicode) and TVN_SETDISPINFOA (ANSI)|
Build date: 10/27/2012