NMTVSTATEIMAGECHANGING structure (commctrl.h)

Contains information about an NM_TVSTATEIMAGECHANGING notification code.

Syntax

typedef struct tagNMTVSTATEIMAGECHANGING {
  NMHDR     hdr;
  HTREEITEM hti;
  int       iOldStateImageIndex;
  int       iNewStateImageIndex;
} NMTVSTATEIMAGECHANGING, *LPNMTVSTATEIMAGECHANGING;

Members

hdr

Type: NMHDR

NMHDR structure that contains information about this notification code.

hti

Type: HTREEITEM

Handle to the tree-view item whose state image is changing.

iOldStateImageIndex

Type: int

The index of the old state image.

iNewStateImageIndex

Type: int

The index of the new state image.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header commctrl.h