Export (0) Print
Expand All

TVN_ITEMEXPANDED notification code

Notifies a tree-view control's parent window that a parent item's list of child items has expanded or collapsed. This notification code is sent in the form of a WM_NOTIFY message.


TVN_ITEMEXPANDED 

    pnmtv = (LPNMTREEVIEW) lParam 

Parameters

lParam

Pointer to an NMTREEVIEW structure. The itemNew member is a TVITEM structure that contains valid information about the parent item in the hItem, state, and lParam members. The action member indicates whether the list expanded or collapsed. For a list of possible values, see the description of the TVM_EXPAND message.

Return value

The return value is ignored.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

TVN_ITEMEXPANDEDW (Unicode) and TVN_ITEMEXPANDEDA (ANSI)

See also

TVN_ITEMEXPANDING

 

 

Community Additions

ADD
Show:
© 2014 Microsoft