Share via


TVN_ITEMEXPANDING (Windows CE 5.0)

Send Feedback

This message notifies a tree view control's parent window that a parent item's list of child items is about to expand or collapse. It is sent in the form of a WM_NOTIFY message.

TVN_ITEMEXPANDINGpnmtv= (NM_TREEVIEW FAR *)lParam

Parameters

  • pnmtv
    Pointer to an NM_TREEVIEW 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 is to expand or collapse. For a list of possible values, see the description of the TVM_EXPAND message.

Return Values

TRUE prevents the list from expanding or collapsing.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

NM_TREEVIEW | TV_ITEM | TVM_EXPAND | TVN_ITEMEXPANDED | WM_NOTIFY

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.