Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
NMTREEVIEW

NMTREEVIEW structure

Contains information about a tree-view notification message. This structure is identical to the NM_TREEVIEW structure, but it has been renamed to follow current naming conventions.

Syntax


typedef struct tagNMTREEVIEW {
  NMHDR  hdr;
  UINT   action;
  TVITEM itemOld;
  TVITEM itemNew;
  POINT  ptDrag;
} NMTREEVIEW, *LPNMTREEVIEW;

Members

hdr

Type: NMHDR

NMHDR structure that contains information about this notification message.

action

Type: UINT

Notification-specific action flag. This member is used with the following notification codes.

For the possible action flag values, see TVM_EXPAND and TVN_SELCHANGED.

itemOld

Type: TVITEM

TVITEM structure that contains information about the old item state. This member is zero for notification messages that do not use it.

itemNew

Type: TVITEM

TVITEM structure that contains information about the new item state. This member is zero for notification messages that do not use it.

ptDrag

Type: POINT

POINT structure that contains the client coordinates of the mouse at the time the event occurred that caused the notification message to be sent.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

NMTREEVIEWW (Unicode) and NMTREEVIEWA (ANSI)

See also

WM_NOTIFY

 

 

Community Additions

ADD
Show:
© 2015 Microsoft