Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

Unicode and ANSI names

NMTREEVIEWW (Unicode) and NMTREEVIEWA (ANSI)

See also

WM_NOTIFY

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.