Skip to content

Latest commit

 

History

History
76 lines (44 loc) · 1.79 KB

tvn-itemchanging.md

File metadata and controls

76 lines (44 loc) · 1.79 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
TVN_ITEMCHANGING notification code (Commctrl.h)
Notifies a tree-view control's parent window that item attributes are about to change. This notification code is sent in the form of a WM\_NOTIFY message.
c997871c-8eca-46c0-999d-2f6d7e3e6c96
TVN_ITEMCHANGING notification code Windows Controls
apiref
TVN_ITEMCHANGING
TVN_ITEMCHANGINGA
TVN_ITEMCHANGINGW
Commctrl.h
HeaderDef
reference
05/31/2018

TVN_ITEMCHANGING notification code

Notifies a tree-view control's parent window that item attributes are about to change. This notification code is sent in the form of a WM_NOTIFY message.

TVN_ITEMCHANGING
        
    pnm = (NMTVITEMCHANGE *) lParam; 

Parameters

lParam

Pointer to an NMTVITEMCHANGE structure describing the item that is changing. The uChanged member is set to TVIF_STATE.

Return value

Returns FALSE to accept the change, or TRUE to prevent the change.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
TVN_ITEMCHANGINGW (Unicode) and TVN_ITEMCHANGINGA (ANSI)

See also

TVN_ITEMCHANGED