TVN_SETDISPINFOTVN_SETDISPINFO*
*Contents  *Index  *Topic Contents
*Previous Topic: TVN_SELCHANGING
*Next Topic: TVN_SINGLEEXPAND

TVN_SETDISPINFO


TVN_GETDISPINFO 
    lptvdi = (LPNMTVDISPINFO) lParam 

Notifies a tree view control's parent window that it must update the information it maintains about an item. This notification message is sent in the form of a WM_NOTIFY message.

lptvdi
Address of an NMTVDISPINFO structure. The itemOld and itemNew members contain valid information about the currently selected item and the newly selected item. The action member indicates whether a mouse or keyboard action is causing the selection to change. For a list of possible values, see the description of the TVN_SELCHANGED notification message.

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 lptvdi will have the TVIF_TEXT flag set.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.